GO from boost::int64_t to std::int64_t, etc.

This commit is contained in:
Jason Turner
2011-09-10 11:10:14 -06:00
parent aa402fdfde
commit 6bb2678d18
7 changed files with 20 additions and 28 deletions

View File

@@ -13,7 +13,6 @@
#ifndef CHAISCRIPT_BIND_FIRST_HPP_ #ifndef CHAISCRIPT_BIND_FIRST_HPP_
#define CHAISCRIPT_BIND_FIRST_HPP_ #define CHAISCRIPT_BIND_FIRST_HPP_
#include <boost/ref.hpp>
#define BOOST_PP_ITERATION_LIMITS ( 0, 8 ) #define BOOST_PP_ITERATION_LIMITS ( 0, 8 )
#define BOOST_PP_FILENAME_1 <chaiscript/dispatchkit/bind_first.hpp> #define BOOST_PP_FILENAME_1 <chaiscript/dispatchkit/bind_first.hpp>

View File

@@ -445,10 +445,10 @@ namespace chaiscript
bootstrap_pod_type<unsigned long>("unsigned_long", m); bootstrap_pod_type<unsigned long>("unsigned_long", m);
bootstrap_pod_type<size_t>("size_t", m); bootstrap_pod_type<size_t>("size_t", m);
bootstrap_pod_type<char>("char", m); bootstrap_pod_type<char>("char", m);
bootstrap_pod_type<boost::int8_t>("int8_t", m); bootstrap_pod_type<std::int8_t>("int8_t", m);
bootstrap_pod_type<boost::int16_t>("int16_t", m); bootstrap_pod_type<std::int16_t>("int16_t", m);
bootstrap_pod_type<boost::int32_t>("int32_t", m); bootstrap_pod_type<std::int32_t>("int32_t", m);
bootstrap_pod_type<boost::int64_t>("int64_t", m); bootstrap_pod_type<std::int64_t>("int64_t", m);
bootstrap_pod_type<boost::uint8_t>("uint8_t", m); bootstrap_pod_type<boost::uint8_t>("uint8_t", m);
bootstrap_pod_type<boost::uint16_t>("uint16_t", m); bootstrap_pod_type<boost::uint16_t>("uint16_t", m);
bootstrap_pod_type<boost::uint32_t>("uint32_t", m); bootstrap_pod_type<boost::uint32_t>("uint32_t", m);

View File

@@ -14,8 +14,6 @@
#include "../chaiscript_threading.hpp" #include "../chaiscript_threading.hpp"
#include <boost/any.hpp> #include <boost/any.hpp>
#include <boost/ref.hpp>
#include <boost/cstdint.hpp>
#include <boost/type_traits/add_const.hpp> #include <boost/type_traits/add_const.hpp>
#include <boost/type_traits/is_polymorphic.hpp> #include <boost/type_traits/is_polymorphic.hpp>
#include <boost/integer_traits.hpp> #include <boost/integer_traits.hpp>

View File

@@ -11,7 +11,6 @@
#include "boxed_value.hpp" #include "boxed_value.hpp"
#include <boost/any.hpp> #include <boost/any.hpp>
#include <boost/ref.hpp>
#include <boost/type_traits/add_const.hpp> #include <boost/type_traits/add_const.hpp>
namespace chaiscript namespace chaiscript

View File

@@ -9,7 +9,6 @@
#include "boxed_value.hpp" #include "boxed_value.hpp"
#include "../language/chaiscript_algebraic.hpp" #include "../language/chaiscript_algebraic.hpp"
#include <boost/cstdint.hpp>
namespace chaiscript namespace chaiscript
{ {
@@ -232,14 +231,14 @@ namespace chaiscript
return Go<LHS, long, Float>::go(t_oper, t_lhs, t_rhs); return Go<LHS, long, Float>::go(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(unsigned long)) { } else if (inp_ == typeid(unsigned long)) {
return Go<LHS, unsigned long, Float>::go(t_oper, t_lhs, t_rhs); return Go<LHS, unsigned long, Float>::go(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::int8_t)) { } else if (inp_ == typeid(std::int8_t)) {
return Go<LHS, boost::int8_t, Float>::go(t_oper, t_lhs, t_rhs); return Go<LHS, std::int8_t, Float>::go(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::int16_t)) { } else if (inp_ == typeid(std::int16_t)) {
return Go<LHS, boost::int16_t, Float>::go(t_oper, t_lhs, t_rhs); return Go<LHS, std::int16_t, Float>::go(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::int32_t)) { } else if (inp_ == typeid(std::int32_t)) {
return Go<LHS, boost::int32_t, Float>::go(t_oper, t_lhs, t_rhs); return Go<LHS, std::int32_t, Float>::go(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::int64_t)) { } else if (inp_ == typeid(std::int64_t)) {
return Go<LHS, boost::int64_t, Float>::go(t_oper, t_lhs, t_rhs); return Go<LHS, std::int64_t, Float>::go(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::uint8_t)) { } else if (inp_ == typeid(boost::uint8_t)) {
return Go<LHS, boost::uint8_t, Float>::go(t_oper, t_lhs, t_rhs); return Go<LHS, boost::uint8_t, Float>::go(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::uint16_t)) { } else if (inp_ == typeid(boost::uint16_t)) {
@@ -273,14 +272,14 @@ namespace chaiscript
return oper_rhs<long, false>(t_oper, t_lhs, t_rhs); return oper_rhs<long, false>(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(unsigned long)) { } else if (inp_ == typeid(unsigned long)) {
return oper_rhs<unsigned long, false>(t_oper, t_lhs, t_rhs); return oper_rhs<unsigned long, false>(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::int8_t)) { } else if (inp_ == typeid(std::int8_t)) {
return oper_rhs<boost::int8_t, false>(t_oper, t_lhs, t_rhs); return oper_rhs<std::int8_t, false>(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::int16_t)) { } else if (inp_ == typeid(std::int16_t)) {
return oper_rhs<boost::int32_t, false>(t_oper, t_lhs, t_rhs); return oper_rhs<std::int32_t, false>(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::int32_t)) { } else if (inp_ == typeid(std::int32_t)) {
return oper_rhs<boost::int32_t, false>(t_oper, t_lhs, t_rhs); return oper_rhs<std::int32_t, false>(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::int64_t)) { } else if (inp_ == typeid(std::int64_t)) {
return oper_rhs<boost::int64_t, false>(t_oper, t_lhs, t_rhs); return oper_rhs<std::int64_t, false>(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::uint8_t)) { } else if (inp_ == typeid(boost::uint8_t)) {
return oper_rhs<boost::uint8_t, false>(t_oper, t_lhs, t_rhs); return oper_rhs<boost::uint8_t, false>(t_oper, t_lhs, t_rhs);
} else if (inp_ == typeid(boost::uint16_t)) { } else if (inp_ == typeid(boost::uint16_t)) {

View File

@@ -13,8 +13,6 @@
#include <map> #include <map>
#include <boost/any.hpp> #include <boost/any.hpp>
#include <boost/ref.hpp>
#include <boost/cstdint.hpp>
#include <boost/type_traits/add_const.hpp> #include <boost/type_traits/add_const.hpp>
#include <boost/integer_traits.hpp> #include <boost/integer_traits.hpp>

View File

@@ -19,7 +19,6 @@
#include <boost/type_traits/remove_const.hpp> #include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp> #include <boost/type_traits/remove_reference.hpp>
#include <boost/type_traits/remove_pointer.hpp> #include <boost/type_traits/remove_pointer.hpp>
#include <boost/ref.hpp>
namespace chaiscript namespace chaiscript
{ {