template<typename T>
class compiler::SelectValue< T >
Selects the proper value for the current compiler and standard library.
If proper value for the standard library was set, prefers it over the generic x32/x64 values.
Example usage:
#pragma once
namespace sample {
class Widget {
public:
Widget();
Widget(Widget&& other) noexcept;
Widget(const Widget& other);
Widget& operator=(Widget&& other) noexcept;
Widget& operator=(const Widget& other);
~Widget();
int DoSomething(short param);
private:
struct Impl;
static constexpr std::size_t kImplSize =
static constexpr std::size_t kImplAlign = alignof(void*);
};
}
Definition at line 26 of file select.hpp.