cereal::traits::is\_default\_constructible&lt; T &gt;(3) Library Functions Manual cereal::traits::is\_default\_constructible&lt; T &gt;(3)

# [NAME](#NAME)

cereal::traits::is\_default\_constructible&lt; T &gt; - Determines whether the class T can be default constructed by **cereal::access**.

# [SYNOPSIS](#SYNOPSIS)

#include &lt;/home/build/include/cereal/details/traits.hpp&gt;

## [Static Public Member Functions](#Static_Public_Member_Functions)

template&lt;class TT&gt; static auto **test** (int) -&gt; decltype(cereal::access::construct&lt; TT &gt;(), yes())  
template&lt;class&gt; static no **test** (...)

## [Static Public Attributes](#Static_Public_Attributes)

static const bool **value** = std::is\_same&lt;decltype(test&lt;T&gt;(0)), yes&gt;::value

# [Detailed Description](#Detailed_Description)

## [template&lt;class T&gt;](#template_class_T_)

struct cereal::traits::is\_default\_constructible&lt; T &gt;"Determines whether the class T can be default constructed by **cereal::access**.

# [Author](#Author)

Generated automatically by Doxygen for cereal from the source code.

Sat Oct 10 2026 08:08:15 cereal

---

Document: cereal_traits_is_default_constructible(3) from cereal 1.3.2-r6 (Chainguard OS)
Source: https://github.com/USCiLab/cereal
