std::experi...path::assign(3)
π NAME π
okay bestie, welcome to std::experi...path::assign(3) from the C++ Standard Libary manual β and yes, thatβs literally how the manual spells βLibary,β we are not fixing it, periodt. The actual name is std::experimental::filesystem::path::assign, and then the page gives you std::experimental::filesystem::path::assign again after a dash like itβs giving echo-y main character energy. Both are here, no cap.
β¨ Synopsis β¨
template< class Source > (1) (filesystem TS)
path& assign( const Source& source );
template< class InputIt > (2) (filesystem TS)
path& assign( InputIt first, InputIt last );
Assigns the contents to the path object. No, literally β thatβs the whole flex.
- Assigns the range of
source.
This section is incomplete π (the docs said it, not me).
- Assigns the pathname identified by range
[first, last).
πΈ Parameters πΈ
sourceβ a range to assign.first,lastβ a range to assign.
π Type requirements π
InputItmust meet the requirements of LegacyInputIterator.- The value type of
InputItmust be one of the encoded character types (char,wchar_t,char16_tandchar32_t).
π Return value π
*thisβ thatβs it. It returns itself, lowkey iconic.
π Exceptions π
This section is incomplete π β again, docs todo, not a personality flaw.
π See also π
operator=β assigns another path (public member function).
π·οΈ Categories π·οΈ
- Noindexed pages
- Todo without reason
π«Ά source/version check, bestie: http://cppreference.com Β· 2024.06.10 Β· std::experi...path::assign(3). Thatβs the footer, and we are out β 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