#include "diagnostic.hpp"
#include "math/constants.hpp"
#include "tagged_quantity.hpp"
#include "units/common.hpp"
Go to the source code of this file.
Namespaces | |
eagine | |
Common code is placed in this namespace. | |
Typedefs | |
template<typename T > | |
using | eagine::seconds_t = tagged_quantity< T, units::second > |
Alias for type storing duration values in seconds. More... | |
template<typename T > | |
using | eagine::radians_t = tagged_quantity< T, units::radian > |
Alias for type storing angle values in radians. More... | |
template<typename T > | |
using | eagine::degrees_t = tagged_quantity< T, units::degree > |
Alias for type storing angle values in degrees. More... | |
template<typename T > | |
using | eagine::kelvins_t = tagged_quantity< T, units::kelvin > |
Alias for type storing temperature values in kelvins. More... | |
Functions | |
template<typename T > | |
static constexpr auto | eagine::seconds_ (T value) noexcept -> seconds_t< T > |
Creates a tagged quantity storing value in seconds. | |
template<typename T > | |
static constexpr auto | eagine::radians_ (T value) noexcept -> radians_t< T > |
Creates a tagged quantity storing value in radians. More... | |
template<typename T > | |
static constexpr auto | eagine::right_angles_ (T value) noexcept |
Creates a tagged quantity in units of right angle. More... | |
static constexpr auto | eagine::right_angle_ () noexcept |
Creates a tagged quantity a right angle value. More... | |
template<typename T > | |
static constexpr auto | eagine::turns_ (T value) noexcept |
Creates a tagged quantity in full turn units. More... | |
template<typename T > | |
static constexpr auto | eagine::degrees_ (T value) noexcept -> degrees_t< T > |
Creates a tagged quantity storing value in degrees. More... | |
template<typename T > | |
static constexpr auto | eagine::kelvins_ (T value) noexcept -> kelvins_t< T > |
Creates a tagged quantity storing value in kelvins. | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt