penalty for "inlined" classes

Posted by 2di on Stack Overflow See other posts from Stack Overflow or by 2di
Published on 2010-04-07T19:36:42Z Indexed on 2010/04/07 19:43 UTC
Read the original article Hit count: 164

Filed under:
|
|

Hi All

Visual studio allow you to create "inlined" classes (if I am not mistaken with the name). So class header and implementation all in one file.

H. file contain definitions and declarations of the class and functions, there is no .cpp file at all.

So I was wondering if there is any penalty for doing it that way? any disadvantages ?

Thanks a lot

© Stack Overflow or respective owner

Related posts about c++

Related posts about VisualStudio