Thread: Question about ^<parameter>

  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    41

    Question about ^<parameter>

    What does the caret (^) mean when it is attached to a parameter in a method/function? I have searched through several sites that have C++ symbols listed and the only mentioned use of ^ is for bitwise-OR which is not what it is used for here.

    Hunter

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    It's not part of standard C++ but rather part of Microsoft's managed C++.
    .net - What does the caret mean in C++/CLI? - Stack Overflow

    Essentially it's like a pointer.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    41
    cool thank you. next time I do a search I'll be sure to include visual C++ in the query.

    Hunter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. parameter passing question
    By Ace Rockolla in forum C++ Programming
    Replies: 4
    Last Post: 02-28-2010, 11:54 AM
  2. Replies: 6
    Last Post: 01-08-2008, 10:25 AM
  3. const parameter question
    By 7stud in forum C++ Programming
    Replies: 4
    Last Post: 11-16-2005, 08:57 AM
  4. QUESTION!! parameter passing
    By jave in forum C Programming
    Replies: 8
    Last Post: 10-21-2005, 12:50 PM
  5. question in alias parameter`
    By ssharish in forum C++ Programming
    Replies: 1
    Last Post: 02-13-2005, 07:16 AM