Все вопросы: [c++-concepts]
9 вопросов
Концепция Проверка изменений в C ++?
Я переношу некоторый код из одного проекта в другой в своей компании, и я обнаружил общую функцию "sets_intersect", которая не компилируется: template<typename _InputIter1, typename _InputIter2, typename _Compare> bool sets_intersect(_InputIter1 __first1, _InputIter1 __last1, ...
How to require certain concepts in C++ code?
How do I require and check that an argument is a certain concept in C++? For example, the random_shuffle function in the algorithm header requires that its arguments are RandomAccessIterators: template<typename _RandomAccessIterator> inline void random_shuffle(_RandomAccessItera...
What's the difference between C++0x concepts and The Boost Concept Check Library (BCCL)?
Concepts didn't make the C++0x standard, but Boost still provides The Boost Concept Check Library (BCCL). I guess that BCCL doesn't cover everything that was meant to into the C++0x standard. What is the difference between BCCL and the proposed C++0x solution?
What are concepts?
I've heard all this new (on /.) about C++0x not having concepts anymore, but I have no idea what they are? Can someone explain to me?
Hypothetical, formerly-C++0x concepts questions
(Preamble: I am a late follower to the C++0x game and the recent controversy regarding the removal of concepts from the C++0x standard has motivated me to learn more about them. While I understand that all of my questions are completely hypothetical -- insofar as concepts won't be valid C++ code ...
How do Concepts differ from Interfaces?
How do Concepts (ie those recently dropped from the C++0x standard) differ from Interfaces in languages such as Java?
C++0X Concepts are gone. Which other features should go too?
As you may have heard, the last meeting of the C++ standards committee voted to remove concepts from the next C++ standard. Of course, this will affect other features and would seem to throw the standard wide open again. If that is the case, which other features do you think should be stripped aw...
C++0x will no longer have concepts. Opinions? How will this affect you?
At the July 2009 C++0x meeting in Frankfurt, it was decided to remove concepts from C++0x. Personally, I am disappointed but I'd rather have an implementable C++0x than no C++0x. They said they will be added at a later date. What are your opinions on this decision/issue? How will it affect you?
В чем разница между концепциями c ++ 0x и ограничениями c #?
C ++ 0x вводит концепции , которые позволяют вам определять, в основном, тип типа. Он определяет свойства, необходимые для типа . C # позволяет указывать ограничения универсального шаблона с помощью " where ". Есть ли между ними семантическая разница? Спасибо.