partial template specialization

Discussion in 'C++' started by Hicham Mouline, Jan 20, 2009.

  1. hello,

    template <typename M>
    class V {
    ////
    };


    template <typename T>
    class Md; // forward decl

    template <typename T>
    class V < Md<T> > {
    };
    In this order, is this a partial specialization of the primary template V
    when the argument has the form
    Md<T> ?

    template <typename T>
    class Md {
    //definition
    }


    regards,
     
    Hicham Mouline, Jan 20, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chandra Shekhar Kumar

    template partial specialization

    Chandra Shekhar Kumar, Jun 24, 2003, in forum: C++
    Replies:
    17
    Views:
    3,036
    tom_usenet
    Jun 25, 2003
  2. Joseph Turian
    Replies:
    2
    Views:
    472
  3. toton
    Replies:
    1
    Views:
    618
  4. vj
    Replies:
    1
    Views:
    486
  5. Hizo
    Replies:
    17
    Views:
    691
    itaj sherman
    Mar 7, 2011
Loading...

Share This Page