Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

std::conditional< _Cond, _Iftrue, _Iffalse > - Define a member typedef type to one of two argument types.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++ std::conditional<_Cond,_Iftrue,_Iffalse>(3cxx)

Detailed Description

template<bool_Cond,typename_Iftrue,typename_Iffalse>
       struct std::conditional< _Cond, _Iftrue, _Iffalse >"Define a member typedef type to one of two argument
       types.

Name

       std::conditional< _Cond, _Iftrue, _Iffalse > - Define a member typedef type to one of two argument types.

Synopsis

       #include <type_traits>

   PublicTypestypedef_Iftruetype

See Also