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

Thread: interpret tags

  1. #1
    Join Date
    Sep 2009
    Posts
    1

    Question interpret tags

    typedef foo bar

    means that bar is now an alias for type foo

    now I have this:

    typedef match_results<const char* cmatch>

    I am not sure what this more complex code means . Please can someone explain what that code means (in detail as I am a beginner)?

    Many thanks

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    894

    Re: interpret tags

    Quote Originally Posted by willgriffiths1 View Post
    typedef foo bar
    Quote Originally Posted by willgriffiths1 View Post
    typedef match_results<const char* cmatch>
    I'm not sure if both have a valid C++ syntax:
    http://msdn.microsoft.com/en-us/libr...8VS.80%29.aspx
    http://msdn.microsoft.com/en-us/libr...8VS.80%29.aspx

Tags for this Thread

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