TMP and unit testing

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.
 

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
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top