diff --git a/include/boost/typeof/binding_workaround.hpp b/include/boost/typeof/binding_workaround.hpp deleted file mode 100755 index 1b5fc1d..0000000 --- a/include/boost/typeof/binding_workaround.hpp +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef BOOST_TYPEOF_BINDING_WORKAROUND_HPP_INCLUDED -#define BOOST_TYPEOF_BINDING_WORKAROUND_HPP_INCLUDED - -// workarounds related to inability to bind to const T& - -/* -MSVC 7.1-, from inside a template, -can't bind a function pointer to const T& -*/ - -#include - -#if BOOST_WORKAROUND(BOOST_MSVC,==1310) && defined(BOOST_TYPEOF_EMULATION) - -#include -#include - -namespace boost { namespace type_of { - - template - sizer::type> encode(T*, - typename enable_if::type>::type* = 0); - -}} - -#elif BOOST_WORKAROUND(BOOST_MSVC,<=1310) && defined(BOOST_TYPEOF_NATIVE) - -#include -#include - -namespace boost { namespace type_of { - - template - char (*encode_start(T*))[encode_type::value]; - -}} - -#endif - -// - -#endif//BOOST_TYPEOF_BINDING_WORKAROUND_HPP_INCLUDED