inline functions

This is a discussion on inline functions within the C++ Programming forums, part of the General Programming Boards category; Quick Question: Can inline functions 'use' a protoype? E.G. Code: inline func(blah); ... code ... inline func(blah) { stuff } ...

  1. #1
    -
    Join Date
    Feb 2003
    Posts
    47

    inline functions

    Quick Question:
    Can inline functions 'use' a protoype?

    E.G.
    Code:
    inline func(blah);
    ... 
    code
    ...
    inline func(blah) {
    stuff
    }
    because I mainly see it used without a prototype, in fact I havenít seen a prototype used with it but yeah, search results brought up similar ideas not quite what I needed, sorry if i havenít explained my self correctly.. A little tired.

  2. #2
    -
    Join Date
    Feb 2003
    Posts
    47
    never mind, good old tutorials helped me out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Inline Definitions and Declarations?
    By legit in forum C++ Programming
    Replies: 1
    Last Post: 06-15-2009, 01:59 PM
  2. Is it legal to have functions within functions?
    By Programmer_P in forum C++ Programming
    Replies: 13
    Last Post: 05-25-2009, 11:21 PM
  3. When to inline your *tors
    By Angus in forum C++ Programming
    Replies: 43
    Last Post: 10-29-2008, 03:38 PM
  4. conditional breakpoints and inline functions
    By Mario F. in forum C++ Programming
    Replies: 2
    Last Post: 08-10-2006, 08:30 PM
  5. inline friend functions.
    By sean in forum C++ Programming
    Replies: 2
    Last Post: 01-03-2002, 11:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21