aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Loading...
Searching...
No Matches
Utility.h
Go to the documentation of this file.
1#pragma once
7namespace Aws
8{
9 namespace Crt
10 {
14 struct InPlaceT
15 {
16 explicit InPlaceT() = default;
17 };
18 static constexpr InPlaceT InPlace{};
19
20 template <typename T> struct InPlaceTypeT
21 {
22 explicit InPlaceTypeT() = default;
23 };
26#if defined(__cplusplus) && __cplusplus > 201103L //
27 template <class T> static constexpr InPlaceTypeT<T> InPlaceType{};
28#endif
29
30 } // namespace Crt
31} // namespace Aws
static constexpr InPlaceT InPlace
Definition Utility.h:18
std::unique_ptr< T, std::function< void(T *)> > ScopedResource
Definition Types.h:163
Definition Allocator.h:11
Definition Utility.h:15
Definition Utility.h:21