c++11
jeudi 29 octobre 2015
Is there a simpler way to get to a member of a class wrapped in a smart pointer?
›
Apologies for the cryptic title. Suppose this definition: struct TestNode { using CostType = double; }; I would like to be able to d...
C++ library to create Ppt/ pptx document
›
I am new to c++ language. i am looking for an open source c++ library (cross platform) to create and manage the ppt / pptx document. Please...
Force a compile time error in a template specialization
›
I recently started to learn modern template metaprogramming and I wrote myself an index_of function for types. template<std::size_t Ind...
cannot convert parameter 1 from 'const boost::shared_mutex' to 'const boost::shared_lock
›
I am just trying to implement this answer about mutexes with over 100 upvotes . All I did was copy paste the code, so that my class reads (s...
Default-insertion, C++11, and libstdc++
›
The current working draft of the C++ Standard ( http://ift.tt/1M1jxWT ) introduces so-called default-insertion [§23.2.1(15.2)]. The vector:...
When are 'auto' and 'decltype' evaluated?
›
When are auto and decltype (for lack of a better word) "evaluated"? At runtime, or when the code is compiled? If it is the form...
Suffix ($´) in c++ regex_replace doesn't work
›
According to c++ regex_replace specification , $´ is supposed to specify the suffix of the match. But it doesn't work: #include <i...
‹
›
Accueil
Afficher la version Web