CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #2
    Join Date
    Apr 2003
    Location
    Athens, Greece
    Posts
    1,094

    Re: Performance Cost

    You normally make GetNum() inline to avoid the additional cost.
    ...Which it is, so I do not see any additional cost.
    (Tip of the day: Avoid prepending the member variables with '_')
    Last edited by panayotisk; March 16th, 2005 at 10:01 AM.
    Extreme situations require extreme measures

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