Greetings Robert/All Robert suggested that I put my opAssign method as:
void opAssign (T:Foo!NN,size_t NN)(T f) { }
That works. But I want to find out if it is possible to write the opAssign
template method with a conditional in the following form. This will help me
optimize code better. Kindly suggest what would come in place of .......
below.
void opAssign (T)(T f) if(is(T .......)) { }
Regards
- Puneet
