Defining a member-function of partially specialized template

I

Igor R.

Hello,

Given the following partially specialized template, what would be the
syntax of my_func() definition (out of class)?


tempate<typename T, class Enable = void>
{};

template<typename T>
struct my_class<some_wrapper<T>, typename
enable_if<some_cond<some_wrapper<T> > >::type>
{
my_func();
};


Thanks!
 
I

Igor R.

Sorry for the noise. For the above trivial example, the
straightforward syntax seems to compile well:

template<typename T>
{}

I just overly simplified my real code, where I had some syntax error.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top