This event has ended. Visit the official site or create your own event on Sched.
Back To Schedule
Monday, September 25 • 11:00am - 12:00pm
C++ Constraints: Background, Utility, and Gotchas

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Compile-time constraints will likely soon become part of our routine C++ programming vocabulary. Why? Such constraints are induced by new core language features (requires-clauses and requires-expressions) that are on the horizon for C++. What are these all about?

Almost every function imposes requirements on its users; violating those requirements typically leads to incorrect programs. Historically, such requirements had to be expressed in comments or other documentation, as there was little machinery to express them in code. Soon we will be able to express more requirements in code, thus allowing compilers to detect and address more violations.

This talk aims to prepare both new and veteran C++ programmers with the necessary background, tutorial information, and advice to exploit this powerful new supplement to function declarations. A case study, illustrating an unexpected gotcha, will conclude the presentation.

avatar for Walter E Brown

Walter E Brown

With broad experience in industry, academia, consulting, and research, Dr. Walter E. Brown has been a computer programmer for almost 60 years, and a C++ programmer for more than 40 years.He joined the C++ standards effort in 2000, and has since written circa 175 proposal papers. Among... Read More →

Monday September 25, 2017 11:00am - 12:00pm PDT
Ferranti (403) Meydenbauer Center
  •Design and Best Practice