It looks like you used the code from
github.com/motonacciu/meta-serialization/blob/master/include/serialize.h[
^].
If you have a look on top of that file, you will find
namespace detail {
template<std::size_t> struct int_{};
}
That is a template similar to those used by Boost (see the link from solution 1) to implement an
Integral Constant (see
The MPL Reference Manual: Integral Constant - 1.47.0[
^]).
If you are using the unmodified file it should compile with recent compilers (I can't test it with VS 2015 and 2017 because I have actually no access to those).