boost-container-limits.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2019-2021 INRIA
3 //
4 
5 #ifndef __pinocchio_container_boost_container_limits_hpp__
6 #define __pinocchio_container_boost_container_limits_hpp__
7 
8 #include "pinocchio/macros.hpp"
9 
10 // #ifndef PINOCCHIO_WITH_CXX11_SUPPORT
11 
12 #define PINOCCHIO_BOOST_MPL_LIMIT_CONTAINER_SIZE_DEFAULT 30
13 
14 #ifndef PINOCCHIO_BOOST_MPL_LIMIT_CONTAINER_SIZE
15  #define PINOCCHIO_BOOST_MPL_LIMIT_CONTAINER_SIZE PINOCCHIO_BOOST_MPL_LIMIT_CONTAINER_SIZE_DEFAULT
16 #endif
17 
18 #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
19 
20 #if !defined(BOOST_MPL_LIMIT_LIST_SIZE)
21  // Check the inclusion order
22  #if defined(BOOST_MPL_LIST_HPP_INCLUDED)
23  #error \
24  "You should include pinocchio before the Boost headers (e.g. #include <pinocchio/fwd.hpp>)"
25  #endif
26 
27  #define BOOST_MPL_LIMIT_LIST_SIZE PINOCCHIO_BOOST_MPL_LIMIT_CONTAINER_SIZE
28 
29 #elif BOOST_MPL_LIMIT_LIST_SIZE < PINOCCHIO_BOOST_MPL_LIMIT_CONTAINER_SIZE
30  #if defined(BOOST_MPL_LIST_HPP_INCLUDED)
31  #error \
32  "You should include pinocchio before the Boost headers (e.g. #include <pinocchio/fwd.hpp>)"
33  #else
34  #error \
35  "BOOST_MPL_LIMIT_LIST_SIZE value is lower than the value of PINOCCHIO_BOOST_MPL_LIMIT_CONTAINER_SIZE"
36  #endif
37 
38 #endif
39 
40 // #endif // ifndef PINOCCHIO_WITH_CXX11_SUPPORT
41 
42 #endif // ifndef __pinocchio_container_boost_container_limits_hpp__
macros.hpp


pinocchio
Author(s):
autogenerated on Sun Jun 16 2024 02:43:06