Merge pull request #17 from Kojoley/missing-cstddef-include

Missing `cstddef` include
This commit is contained in:
Glen Fernandes 2020-03-27 14:50:36 -04:00 committed by GitHub
commit 27890f7ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#include <boost/config.hpp>
#include <boost/typeof/constant.hpp>
#include <cstddef> // for std::size_t
namespace boost { namespace type_of {

View File

@ -12,6 +12,7 @@
#include <boost/typeof/vector.hpp>
#include <boost/type_traits/enable_if.hpp>
#include <boost/type_traits/is_function.hpp>
#include <cstddef> // for std::size_t
#define BOOST_TYPEOF_VECTOR(n) BOOST_PP_CAT(boost::type_of::vector, n)