qtty-cpp 0.4.5
Header-only C++ wrapper for qtty
Loading...
Searching...
No Matches
inverse_solid_angle.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2// Copyright (C) 2026 Vallés Puig, Ramon
3
4#pragma once
5
6#include "../ffi_core.hpp"
7
8namespace qtty {
9
10struct S10Tag {};
11
12template <> struct UnitTraits<S10Tag> {
13 static constexpr UnitId unit_id() { return UNIT_ID_S10; }
14 static constexpr std::string_view symbol() { return "S10"; }
15 static constexpr DimensionId dimension() { return DIMENSION_ID_INVERSE_SOLID_ANGLE; }
16};
17
19
20} // namespace qtty
Core quantity template and error translation utilities.
Quantity< S10Tag > S10
static constexpr std::string_view symbol()
static constexpr UnitId unit_id()
static constexpr DimensionId dimension()