File tree Expand file tree Collapse file tree 9 files changed +41
-1
lines changed
mt_queue/include/ut/mt_queue
ptr_containers/include/ut/ptr_containers
resource/include/ut/resource
static_string/include/ut/static_string Expand file tree Collapse file tree 9 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 11#ifndef UT_MT_QUEUE_HPP
22#define UT_MT_QUEUE_HPP
33
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
48#include < condition_variable>
59#include < deque>
610#include < mutex>
Original file line number Diff line number Diff line change 11#ifndef CONTAINER_BASE_HPP
22#define CONTAINER_BASE_HPP
33
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
48#include " template_helpers.hpp"
59
610#ifndef assert
@@ -171,7 +175,7 @@ namespace detail {
171175}
172176
173177template <typename T>
174- struct IsDerivedFromContainerBase : decltype (detail::derivedFromContainerBase(std::declval<T *>())) { };
178+ struct IsDerivedFromContainerBase : decltype (detail::derivedFromContainerBase(std::declval<T *>())) {};
175179
176180template <typename T>
177181inline constexpr bool IsDerivedFromContainerBaseV = IsDerivedFromContainerBase<T>::value;
Original file line number Diff line number Diff line change 11#ifndef OWNPTRVEC_HPP
22#define OWNPTRVEC_HPP
33
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
48#include " container_base.hpp"
59#include " ptrvecview.hpp"
610#include " template_helpers.hpp"
Original file line number Diff line number Diff line change 11#ifndef PTRVECVIEW_HPP
22#define PTRVECVIEW_HPP
33
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
48#include " container_base.hpp"
59
610#define BASE \
Original file line number Diff line number Diff line change 11#ifndef CONCEPTS_HPP
22#define CONCEPTS_HPP
3+
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
38#include < concepts>
49#include < memory>
510
Original file line number Diff line number Diff line change 11#ifndef VALUEPTR_HPP
22#define VALUEPTR_HPP
3+
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
38#include " template_helpers.hpp"
49
510#include < memory>
Original file line number Diff line number Diff line change 11#ifndef UT_OPTIONALOF_HPP
22#define UT_OPTIONALOF_HPP
3+
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
38#include < optional>
49#include < type_traits>
510
Original file line number Diff line number Diff line change 11#ifndef UT_RESOURCE_HPP
22#define UT_RESOURCE_HPP
3+
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
38#include " optionalof.hpp"
49
510#include < type_traits>
Original file line number Diff line number Diff line change 11#ifndef UT_STATIC_STRING_HPP
22#define UT_STATIC_STRING_HPP
33
4+ #if __cplusplus < 202002L
5+ #error this file has to be compiled with at least C++20
6+ #endif
7+
48/* *Usage:
59 * std >= c++20 (c++23)
610 * // typedef using `char`
You can’t perform that action at this time.
0 commit comments