22 ms·
huh, never seen operator "". Seems to be a c++11 feature. [1] helped me understand it a bit, but Im not sure I see a compelling use case. Does it just provide
by sdab 12y ago
huh, never seen operator "". Seems to be a c++11 feature.
[1] helped me understand it a bit, but Im not sure I see a compelling use case. Does it just provide a shorthand for calling functions on primitive types (and strings) or have I misunderstood? While requiring less characters might it not decrease readability?
1. http://en.cppreference.com/w/cpp/language/user_literal http://en.cppreference.com/w/cpp/language/user_literal