N
Noah Roberts
Has anyone found a decent way to unit test template metaprograms? Also
of interest to me is unit testing adherence to concepts (as described
and implemented in boost). A general solution interests me most but if
that fails then one using either autotools or VS would be acceptable.
Basically I think this requires that a unit test include compilation
and that certain sets of tests should be able to fail in compilation
but be "correct". Or perhaps there is a way using metaprogramming
itself... This is why I ask, I'm new to this type of programming and
learning at home.
Thanks.
of interest to me is unit testing adherence to concepts (as described
and implemented in boost). A general solution interests me most but if
that fails then one using either autotools or VS would be acceptable.
Basically I think this requires that a unit test include compilation
and that certain sets of tests should be able to fail in compilation
but be "correct". Or perhaps there is a way using metaprogramming
itself... This is why I ask, I'm new to this type of programming and
learning at home.
Thanks.