std::experi...::any::type(3)

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

okay bestie, this is the std::experi...::any::type(3) page from the C++ Standard Libary manual πŸ’…βœ¨

πŸ’– NAME πŸ’–

std::experimental::any::type - std::experimental::any::type

🌸 Synopsis 🌸

Here’s the whole signature, no cap:

const type_info& type() const noexcept;

That’s the library fundamentals TS vibe. It queries the contained type β€” like it’s asking the value, β€œbestie, what type are you?” 🫢

πŸŽ€ Parameters πŸŽ€

  • (none) β€” literally zero parameters, not even one, periodt.

πŸ¦‹ Return value πŸ¦‹

  • The typeid of the contained value if instance is non-empty.
  • Otherwise, typeid(void).

That’s the whole return-value story, fr fr. πŸ’œ

πŸ‘‘ Category πŸ‘‘

  • Noindexed pages

mwah πŸ’‹ sign-off: this came from http://cppreference.com, dated 2024.06.10, with footer title std::experi...::any::type(3). slay πŸ’–

πŸ“¦ where this page comes from