News for hackers. Stuff that matters.
Re:Why I want Concepts, sooner rather than later by slavik81 on Sunday February 21, 2016 @12:38AM (#11143452)
Quite frankly, I still don't get it. Concepts are a big, complex feature and the main thing you get out of them is that it makes it easier to write error-checking for template parameters. I don't think I've ever actually been bitten by that problem in the first place.

I was champing at the bit to get C++11 features like auto, move, lambdas, unique_ptr, bind and random. I could see exactly where I'd use them to make my code simpler.

The C++17 proposals mostly are uninspiring in comparison. Some seem minimally useful while others seem very complicated. I worry that we might end up standardizing a bunch of useless or poorly considered features.

Re:Why I want Concepts, sooner rather than later by mike_hearn on Sunday February 21, 2016 @01:09PM (#11145631)
I think everyone who programs in C++ has had their terminal scrollback buffer be wiped by a giant and entirely useless error message from the compiler due to some template substitution error.

Even if you don't define templated types yourself (very common), you will use them all the time, and if concepts lead to better error messages, then it'd be a win for everyone who uses libraries like the STL or Boost.

Re:Why I want Concepts, sooner rather than later by srean on Sunday February 21, 2016 @03:04AM (#11143761)
>I don't think I've ever actually been bitten by that problem in the first place.

That I think qualifies you to be a few of a kind if not one of a kind. If you use a lot of templates and manage to avoid the problem of 'late errors' with a reasonable effort I would love to know more about your programming style

Re:Why I want Concepts, sooner rather than later by slavik81 on Sunday February 21, 2016 @03:46AM (#11143826)
I suppose I probably have been bitten by this sort of thing when using iostreams and Google Mock.