STD::IS_FINAL(3cxx)
π NAME π
std::is_final< _Tp > β bestie, it's literally is_final. That's the whole vibe.
This one lives in the 3cxx section of the manual, aka the C++ corner of the libstdc++ docs π
πΈ SYNOPSIS πΈ
#include <type_traits>
It inherits std::integral_constant< bool, __is_final(_Tp)>. Slay. π
β¨ Public Types β¨
typedef integral_constant< bool, __v > typeβ the type it hands you, exactly as written,__vand all.typedef bool value_typeβ yep. It'sbool. The truthiest of the truths. π₯
π¦ Public Member Functions π¦
constexpr operator value_type () const noexceptβ converts itself to avalue_type, it's declaredconstexprandnoexcept, no drama allowed.constexpr value_type operator() () const noexceptβ call it like a function, get avalue_typeback. Alsoconstexpr, alsonoexcept. Iconic behavior. π
π Static Public Attributes π
static constexpr bool valueβ the staticconstexprbooldoing all the heavy lifting. Main character energy fr fr.
π Detailed Description π
template<typename _Tp>
struct std::is_final< _Tp >"is_final
(okay the stray quote mark in there? that's literally how the page prints it, not me being chaotic, I promise π)
Since: C++14. So if you're compiling for anything older, this vibe check does not exist yet, sorry bestie π«Ά
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, not a girlboss, just a doc generator doing its little thing. π€β¨
Anyway, that's the whole page, no cap. Thanks for reading my little TED talk about a type trait that asks one question: is this type final or not? π Go forth and static_assert, bestie.
This manual page belongs to libstdc++ (that's the C++ standard library crew π), rendered in the 3cxx section, and it was generated for you with love and zero human editors. Mwah. πβ¨π
π¦ where this page comes from
- ubuntu resolute: libstdc++-11-doc 11.5.0-11ubuntu2
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu stonking: libstdc++-11-doc 11.5.0-11ubuntu2
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms