cppreference.com
Search
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::experimental::any::
clear
From cppreference.com
<
cpp
|
experimental
|
any
C++
Language
Standard library headers
Concepts
Utilities library
Strings library
Containers library
Algorithms library
Iterators library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Technical Specifications
[edit]
Technical specifications
Filesystem library
(filesystem TS)
Library fundamentals
(library fundamentals TS)
Library fundamentals 2
(library fundamentals 2 TS)
Extensions for parallelism
(parallelism TS)
Concepts
(concepts TS)
Extensions for concurrency
(concurrency TS)
[edit]
Library fundamentals
experimental::optional
experimental::any
experimental::basic_string_view
experimental::sample
experimental::apply
experimental::search
experimental::default_searcher
experimental::make_default_searcher
experimental::boyer_moore_searcher
experimental::make_boyer_moore_searcher
experimental::boyer_moore_horspool_searcher
experimental::make_boyer_moore_horspool_searcher
type-erased and polymorphic allocators
variable templates for type traits
[edit]
std::experimental::any
Member functions
any::any
any::operator=
Modifers
any::clear
any::swap
Observers
any::empty
any::type
Non-member functions
swap
(std::experimental::any)
any_cast
[edit]
void
clear
(
)
;
(library fundamentals TS)
If not empty, destroys the contained object.
[
edit
]
Parameters
(none)
[
edit
]
Return value
(none)
[
edit
]
Exceptions
noexcept
specification:
noexcept
Category
:
unconditionally noexcept