mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
#675 Compilation error in optional.h line 405
This commit is contained in:
parent
4ebd1da37d
commit
293e69e37e
@ -399,9 +399,9 @@ namespace etl
|
||||
//*************************************************************************
|
||||
/// Emplaces a value.
|
||||
///\param args The arguments to construct with.
|
||||
//*************************************************************************
|
||||
ETL_CONSTEXPR20_STL
|
||||
//*************************************************************************
|
||||
template <typename ... TArgs>
|
||||
ETL_CONSTEXPR20_STL
|
||||
void emplace(TArgs&& ... args)
|
||||
{
|
||||
storage.construct(etl::forward<TArgs>(args)...);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user