Hi,
Suppose you have a certain template that takes a parameter class
template <typename ConnectorClass>
struct myClass {
}
I want to add a BOOST_ASSERT_MSG
to validate that ConnectorClass
implements a certain method of signature
returnType MethodName(param1, param2)
How should i write the assert condition in this case?
EDIT: since the question does not seem to have a clear solution, i'm posting a sub-question with intermediate results based on some references on the answers please follow here