boostorg / boostorg/type_traits

Add `is_trivial` and `is_trivially_copyable`

Open
#54 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
66
Forks
87
PR merge metrics
No merged PRs in 30d

Description

Boost.TypeTraits is missing traits `is_trivial` and `is_trivially_copyable`. It is very tricky to implement them using `has_trivial_constructor` and others. It would be really useful to have `is_trivial` which degrades to `is_pod` on older compilers and is `std::is_trivial` on the newer.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.