User Profile

Collapse

Profile Sidebar

Collapse
Imposter
Imposter
Last Activity: Sep 17 '12, 10:16 AM
Joined: Dec 6 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Imposter
    replied to Template Metaprogramming
    in C
    hi ..
    when you say IF_* , and IF_& , WHAT DOES IT ESSENTIALLY mean... does it mean if_pointer and if_address(refe rence)
    See more | Go to post

    Leave a comment:


  • Imposter
    started a topic Template Metaprogramming
    in C

    Template Metaprogramming

    Hi, I was going through the TMP . I got stuck with the following code . I coundn't understand the declaration of
    Code:
    Class if_
    in the following code ,can anyone help me in figuring out the FLOW OF THE PROGRAM

    Code:
    template <bool Condition, typename TrueResult, typename FalseResult>
    class if_;
     
    template <typename TrueResult, typename FalseResult>
    struct if_<true, TrueResult, FalseResult>
    ...
    See more | Go to post

  • Imposter
    started a topic Pragma
    in C

    Pragma

    How can i use a pragma directive in order to show warning by compiler when a variable is declared twice.. That is

    class a
    {
    int b;
    void f()
    {
    int b;
    }
    };

    although it is getting compiled without warning.
    See more | Go to post
No activity results to display
Show More
Working...