Description:
The object-oriented C++ language.
|
|
|
Do C++ Programmers Overuse Templates?
|
|
C++ templates have grown to be language within a language, at least for some users. Do most programmers overuse templates? Given that C++ template techniques, and some of them are quite intricate, can lock in an entire codebase (that is, require a ground-up re-implementation if wanting to use another, perhaps new, language), is extreme template... more »
|
|
Proper use of templated containers as class members
|
|
I am finding myself doing the following rather often when I have template containers in classed, e.g. stl::map For example: class Foo { public: typedef std::map<std::string, int> direcory_t; //More typedefs of the same style... private: directory_t directory_m; //More members of the same style...... more »
|
|
Announce: https support added to webEbenezer.net
|
|
Shalom We've recently added https support to the C++ Middleware Writer -- [link]. We have a self-signed certificate so you may have to add an exception or override a warning of some sort to get to the page. Thanks to Jeff Haynes at [link] for the help in getting this working.... more »
|
|
Ill-formed program
|
|
Hi, What is the relationship between the terms ill-formed, diagnosable rules, undiagnosable rules and undefined behavior as mentioned in the C ++ standard. Regards, Dabs
|
|
coding standard: typedef of a full template instantiation
|
|
namespace com { namespace product { template < typename T1, typename T2 > class S; namespace subns { typedef S<int, int> S; ...Note here the type subns::S overrides the S template from the enclosing namespace. This compiles ok with VS and g++. Is this use frowned upon? against coding styles out there?... more »
|
|
deduce element type of c-array template argument
|
|
Hi, What is ?? in <code> template< typename T > struct element_type { typedef ?? type; }; <code> so that i.e boost::is_same<element_type<float[3]>::type, float>::value is true? Thanks in advance, -- Maik
|
|
anybody knows why?
|
|
The ISO standard says (in 8.5 [dcl.init] paragraph 9): If no initializer is specified for an object, and the object is of (possibly cv-qualified) non-POD class type (or array thereof), the object shall be default-initialized; if the object is of const-qualified type, the underlying class type shall have a... more »
|
|
|