Maximum number of Member functions

S

Sarath

Hello,

Do you know what's the maximum number of member functions which a
class can accommodate? Somebody said that in the standard it's
specified as 4096. But I could not see it there in the C++ standard
documentation. Any idea? Is it compiler and platform
 
V

Victor Bazarov

Sarath said:
Do you know what's the maximum number of member functions which a
class can accommodate? Somebody said that in the standard it's
specified as 4096. But I could not see it there in the C++ standard
documentation. Any idea? Is it compiler and platform

The Standard *recommends* the minimum of 4096 members declared in a class
(see Annex B). The compiler is free to allow more or less.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,292
Messages
2,571,494
Members
48,174
Latest member
RonnyLoren

Latest Threads

Top