std::experi...:to_string,(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

std::experi...:to_string,(3) πŸ’–βœ¨

okay bestie, this is from the C++ Standard Libary manual (yes, that’s the manual name, typo and all πŸ’€). It’s the page for std::experimental::basic_string_view::to_string,, and the NAME block is literally this:

πŸŽ€ NAME πŸŽ€

std::experimental::basic_string_view::to_string, - std::experimental::basic_string_view::to_string,

No cap, that’s the whole name situation. Now the actual tea:

πŸ¦‹ Synopsis πŸ¦‹

The synopsis is giving two declarations, and the raw manpage lines are exactly:

          template<class Allocator = allocator<CharT>>

          basic_string<CharT, Traits, Allocator>                     (library
       fundamentals TS)

              to_string(const Allocator& a = Allocator()) const;
          template<class Allocator>
          explicit operator basic_string<CharT, Traits,              (library
       fundamentals TS)
          Allocator>() const;

Creates a basic_string with a copy of the content of the current view.

🌸 Template parameters 🌸

  • Allocator β€” Allocator type used to allocate internal storage.

✨ Parameters ✨

  • a β€” Allocator instance to use for allocating the new string.

πŸ’– Return value πŸ’–

A basic_string containing a copy of the characters of the current view.

πŸ”₯ Complexity πŸ”₯

Linear in size().

πŸ’… Category πŸ’…

  • Noindexed pages

🫢 that’s the whole vibe! source: http://cppreference.com, date/version: 2024.06.10, and the footer title again: std::experi...:to_string,(3). byeee bestie πŸ’œπŸŽ€

πŸ“¦ where this page comes from