Quantify
An extensible C++ units library
Loading...
Searching...
No Matches
preface.cppm File Reference
#include "quantify/unit_macros.h"
import packtl;
import quantify.core:ratio;
import std;
+ Include dependency graph for preface.cppm:

Go to the source code of this file.

Classes

struct  quantify::no_scale
 
struct  quantify::no_unit
 
struct  quantify::unit_conversion_t< U_FROM, U_TO, T >
 
struct  quantify::reduce_impl< Expr >
 
struct  quantify::reduce_scale< Scale >
 
struct  quantify::reduce_scale< Scale >
 
struct  quantify::is_mul<... >
 
struct  quantify::is_mul< mul< Args... > >
 
struct  quantify::is_frac<... >
 
struct  quantify::is_frac< frac< Args... > >
 

Namespaces

namespace  quantify
 

Concepts

concept  quantify::has_scale
 Predicate that checks if a type defines a scale for itself.
 

Typedefs

template<typename Expr>
using quantify::reduce = typename reduce_impl<Expr>::type
 

Variables

template<typename M>
constexpr bool quantify::is_mul_v = is_mul<M>::value
 
template<typename F>
constexpr bool quantify::is_frac_v = is_frac<F>::value
 
template<typename S>
constexpr bool quantify::has_scale_v = has_scale<S>
 See has_scale.