CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Posts
    1

    Thumbs up Size of obj having only void mem F() why?

    what would be the size of the obj of a class which is having only void member functions , Why is the main part of question?

  2. #2
    Join Date
    Feb 2007
    Posts
    59

    Re: Size of obj having only void mem F() why?

    Last edited by paresh_chitte; April 19th, 2007 at 01:00 AM.

  3. #3
    Join Date
    Apr 2004
    Location
    England, Europe
    Posts
    2,492

    Re: Size of obj having only void mem F() why?

    Note:

    If the empty class contains virtual functions, then the size is likely to be the same as the size of a pointer.
    My hobby projects:
    www.rclsoftware.org.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured