CppCon 2015: Scott Schurr “constexpr: Introduction”
Video Statistics and Information
Channel: CppCon
Views: 37,809
Rating: 4.6891193 out of 5
Keywords: Scott Schurr, CppCon 2015, Computer Science (Field), Bash Films, Conference Video Recording, Event Video Recording, Video Conferencing, Video Services, C++11, Programming Language (Software Genre)
Id: fZjYCQ8dzTc
Channel Id: undefined
Length: 64min 6sec (3846 seconds)
Published: Fri Oct 09 2015
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Is it possible to overload on
constexpr
? For example I have two algorithms for computing the same output and one is slow but can be madeconstexpr
(slow compilation but zero time during run time) the other is faster (big O style faster) but cannot be madeconstexpr
. I want automagic overloading, I know I can writeconstexpr auto res = some_func<c_input>()
orconstexpr auto res = some_func_constexpr(c_input)
vsconst auto res = some_func_runtime(r_input)
, but I want to be able to writeconstexpr auto res = some_func(input)
andconst auto res = some_func(input)
both invoking different algorithm based whetherconstexpr
result was requested or not.Looks like I picked the wrong week to quit thinking about chocolate
An informative talk, but the format he used wasted a lot of time, which forced him to gloss over some points. Lots of time spent answering questions that were going to be answered in later slides, and then more time spent handing out chocolate.
I guess there's a reason most formats are set length speach + Q&A with any time remaining afterward.