mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-06 00:04:35 +02:00
Workarounds for MSVC bugs
[SVN r18483]
This commit is contained in:
@@ -23,6 +23,8 @@
|
|||||||
#include "boost/mpl/plus.hpp"
|
#include "boost/mpl/plus.hpp"
|
||||||
#include "boost/mpl/size_fwd.hpp"
|
#include "boost/mpl/size_fwd.hpp"
|
||||||
|
|
||||||
|
#include <boost/detail/workaround.hpp>
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace mpl {
|
namespace mpl {
|
||||||
|
|
||||||
@@ -48,8 +50,14 @@ template<
|
|||||||
>
|
>
|
||||||
struct joint_view
|
struct joint_view
|
||||||
{
|
{
|
||||||
|
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1200)
|
||||||
private:
|
private:
|
||||||
friend struct size_traits< aux::joint_view_tag >;
|
friend struct size_traits< aux::joint_view_tag >;
|
||||||
|
# if BOOST_WORKAROUND(BOOST_MSVC, >= 1301)
|
||||||
|
template <typename JointView>
|
||||||
|
friend struct size_traits< aux::joint_view_tag >::algorithm;
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
typedef Sequence1_ sequence1;
|
typedef Sequence1_ sequence1;
|
||||||
typedef Sequence2_ sequence2;
|
typedef Sequence2_ sequence2;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user