On Sat, Aug 23, 2014 at 5:21 AM, Niall Douglas
Again, if anyone can chime in with an example real world use of Edward's VMD library I would feel much happier. I need some example code to look at.
My [not a boost lib] Boost.Generic library that I presented at BoostCon a few years ago depends on VMD, though I haven't updated for a while so I don't know how VMD has changed (I'll try to review current VMD tonight). VMD is very useful particularly for any DSELs that are implemented with the preprocessor rather than through expression templates. This includes libraries like mine as well as Lorenzo's Boost.Contract library. Prior to VMD, I was hand-rolling a lot of the same macros that it has, but once VMD was about I was able to swap out the macros, which freed me from having to worry about maintaining the macros and dealing with non-compliant preprocessors. Specifically, VMD is a library for library developers in much the same way that MPL is a library primarily for library developers. This still has an important place in Boost in my opion and neither C++14 nor likely C++1z will change that. Anyway, I will say that my previous experience with VMD has been very positive. -- -Matt Calabrese