c++ Programming Glossary: dotest
Using template instead of switch http://stackoverflow.com/questions/5650199/using-template-instead-of-switch I could write this using a switch statement bool doTest EnumSensorFamily family const StructSensorProposal proposed.. specialisations template EnumSensorFamily family bool doTest const StructSensorProposal proposed template bool doTest FAM1.. doTest const StructSensorProposal proposed template bool doTest FAM1 const StructSensorProposal proposed return ExpectedFam1..
|