mirror of
https://github.com/boostorg/optional.git
synced 2025-07-23 17:17:17 +02:00
Fixed build in C++03 compiler
This commit is contained in:
committed by
GitHub
parent
4a9d53539c
commit
4e08f0dd41
@ -420,7 +420,8 @@ class optional_base : public optional_tag
|
||||
construct(in_place_init) ;
|
||||
}
|
||||
|
||||
explicit optional_base ( in_place_init_t, Arg&& args )
|
||||
template<class Arg>
|
||||
explicit optional_base ( in_place_init_t, Arg&& arg )
|
||||
:
|
||||
m_initialized(false)
|
||||
{
|
||||
@ -434,7 +435,8 @@ class optional_base : public optional_tag
|
||||
construct(in_place_init);
|
||||
}
|
||||
|
||||
explicit optional_base ( in_place_init_if_t, bool cond, Arg&& args )
|
||||
template<class Arg>
|
||||
explicit optional_base ( in_place_init_if_t, bool cond, Arg&& arg )
|
||||
:
|
||||
m_initialized(false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user