mirror of
https://github.com/ETLCPP/etl.git
synced 2026-07-01 06:48:44 +08:00
fix variant_variadic documentation (#1194)
* fix variant_variadic default constructor documentation * fix valueless doc
This commit is contained in:
parent
b38feb17b5
commit
e1126aafd2
@ -459,7 +459,7 @@ namespace etl
|
||||
|
||||
//***************************************************************************
|
||||
/// Default constructor.
|
||||
/// Sets the state of the instance to containing no valid data.
|
||||
/// Constructs a variant holding the value-initialized value of the first alternative (index() is zero).
|
||||
//***************************************************************************
|
||||
#include "diagnostic_uninitialized_push.h"
|
||||
ETL_CONSTEXPR14 variant()
|
||||
@ -779,8 +779,8 @@ namespace etl
|
||||
}
|
||||
|
||||
//***************************************************************************
|
||||
/// Checks whether a valid value is currently stored.
|
||||
///\return <b>true</b> if the value is valid, otherwise <b>false</b>.
|
||||
/// Checks whether the variant doesn't contain a valid value.
|
||||
///\return <b>true</b> if the value is invalid, otherwise <b>false</b>.
|
||||
//***************************************************************************
|
||||
constexpr bool valueless_by_exception() const ETL_NOEXCEPT
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user