Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Initializing static const member of a class

Thread Tools

Initializing static const member of a class

Luca Cerone
Posts: n/a
Dear all,

I'm having trouble in creating a class with a static const member.

I'm defining my class like:

class myClass

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
const correctness - should C++ prefer const member over non-const? fungus C++ 13 10-31-2008 05:33 AM
initializing public static const std::string member Christopher C++ 12 12-18-2007 09:38 AM
const vector<A> vs vector<const A> vs const vector<const A> Javier C++ 2 09-04-2007 08:46 PM
Initializing a static const member array of a class type Steven T. Hatton C++ 1 04-19-2004 06:42 AM
Initializing static class member Avi Uziel C++ 14 09-26-2003 06:53 PM