A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/experimental/nonesuch.html below:

std::experimental::nonesuch - cppreference.com

struct nonesuch {

    ~nonesuch() = delete;
    nonesuch(nonesuch const&) = delete;
    void operator=(nonesuch const&) = delete;

};
(library fundamentals TS v2)

std::experimental::nonesuch is a class type used by std::experimental::detected_t to indicate detection failure.

nonesuch has no default constructor or initializer-list constructor, and is not an aggregate.

[edit] Notes

nonesuch cannot be constructed, destroyed, or copied.

[edit] Defect reports

The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

DR Applied to Behavior as published Correct behavior LWG 2960 LFTSv2 nonesuch may be an aggregate and has an implicit conversion sequence from {} made non-aggregate and removed ICS

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4