2 Jun
2014
2 Jun
'14
10:16 p.m.
Le 02/06/14 15:35, Andrzej Krzemienski a écrit :
I recommend that you do not use identifiers 'concept' or 'requires'. They are likely to become keywords in C++17. See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4040.pdf. If added, this will break your code and negatively surprise your users. Worse, if your library becomes popular, it may prevent the addition of the keywords, and C++ will have to resort to uglier names like "concept_def" and "concept_requires".
Eric Range-V3 library uses also a requires function, and a concepts namespace (but some one was suggesting to move to a nmespace concept :(. Some suggestions requires_ and concept_. Vicente