workaround for Solaris Forte 6

[SVN r11060]
This commit is contained in:
Jeremy Siek
2001-09-07 16:29:29 +00:00
parent e027048eb6
commit 0ea958903a

View File

@@ -102,14 +102,16 @@ namespace boost {
}; };
}; };
template <bool Named> struct choose_default_dispatch { }; template <bool Named> struct choose_default_dispatch_;
template <> struct choose_default_dispatch<true> { template <> struct choose_default_dispatch_<true> {
typedef choose_named_params type; typedef choose_named_params type;
}; };
template <> struct choose_default_dispatch<false> { template <> struct choose_default_dispatch_<false> {
typedef choose_default_arg type; typedef choose_default_arg type;
}; };
// The use of inheritance here is a Solaris Forte 6 workaround.
template <bool Named> struct choose_default_dispatch
: public choose_default_dispatch_ { };
template <class PreviousArg> template <class PreviousArg>
struct choose_default_argument { struct choose_default_argument {