mirror of
https://github.com/boostorg/functional.git
synced 2025-08-01 21:44:28 +02:00
adds missing template parameters for partial specialisations
[SVN r51392]
This commit is contained in:
@@ -41,8 +41,8 @@ namespace boost
|
|||||||
|
|
||||||
//----- ---- --- -- - - - -
|
//----- ---- --- -- - - - -
|
||||||
|
|
||||||
template< typename Pointer >
|
template< typename Pointer, factory_alloc_propagation AP >
|
||||||
class factory<Pointer, boost::none_t>
|
class factory<Pointer, boost::none_t, AP>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef typename boost::remove_cv<Pointer>::type result_type;
|
typedef typename boost::remove_cv<Pointer>::type result_type;
|
||||||
@@ -124,8 +124,8 @@ namespace boost
|
|||||||
# undef BOOST_TMP_MACRO
|
# undef BOOST_TMP_MACRO
|
||||||
};
|
};
|
||||||
|
|
||||||
template< typename Pointer, class Allocator >
|
template< typename Pointer, class Allocator, factory_alloc_propagation AP >
|
||||||
class factory<Pointer&, Allocator>;
|
class factory<Pointer&, Allocator, AP>;
|
||||||
// forbidden, would create a dangling reference
|
// forbidden, would create a dangling reference
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user