std::locale::facet::facet(3)
π¦ NAME π¦
std::locale::facet::facet β okay so this is the constructor page for std::locale::facet, straight from the C++ Standard Libary manual. Itβs giving βhow do I make a facet, and why canβt I copy it?β energy. β¨
π Synopsis π
Itβs defined in the header <locale>:
explicit facet( std::size_t refs = 0 ); (1)
facet( const facet& ) = delete; (2)
- Constructor (1) creates a facet with starting reference count
refs. Ifrefsis non-zero, the facet will not be deleted when the last locale referencing it goes out of scope. A facet with static or dynamic storage duration should always be constructed with a non-zerorefs. - Constructor (2) is the copy constructor, and itβs
= deleted β sostd::locale::facetis not copyable. Periodt. π
Thatβs the whole vibe, bestie π«Ά β this page came from http://cppreference.com, and the version/date on it is 2024.06.10. mwah π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms