refactor: "expression templates" renamed to "symbolic expressions"
This commit is contained in:
1 parent
1c4f744eac
commit
f99a73a75f
18 files changed
+25
-25
No files matched your search
@@ -55,7 +55,6 @@ add_mp_units_module(
|
||||
include/mp-units/framework/customization_points.h
|
||||
include/mp-units/framework/dimension.h
|
||||
include/mp-units/framework/dimension_concepts.h
|
||||
include/mp-units/framework/expression_template.h
|
||||
include/mp-units/framework/quantity.h
|
||||
include/mp-units/framework/quantity_cast.h
|
||||
include/mp-units/framework/quantity_concepts.h
|
||||
@@ -67,6 +66,7 @@ add_mp_units_module(
|
||||
include/mp-units/framework/reference_concepts.h
|
||||
include/mp-units/framework/representation_concepts.h
|
||||
include/mp-units/framework/symbol_text.h
|
||||
include/mp-units/framework/symbolic_expression.h
|
||||
include/mp-units/framework/system_reference.h
|
||||
include/mp-units/framework/unit.h
|
||||
include/mp-units/framework/unit_concepts.h
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/quantity_spec.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
#include <mp-units/framework/unit_concepts.h>
|
||||
|
||||
namespace mp_units {
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
#include <mp-units/ext/prime.h>
|
||||
#include <mp-units/ext/type_traits.h>
|
||||
#include <mp-units/framework/customization_points.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/symbol_text.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
#include <mp-units/framework/unit_magnitude_concepts.h>
|
||||
#include <mp-units/framework/unit_symbol_formatting.h>
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <mp-units/framework/customization_points.h>
|
||||
#include <mp-units/framework/dimension.h>
|
||||
#include <mp-units/framework/dimension_concepts.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/quantity.h>
|
||||
#include <mp-units/framework/quantity_cast.h>
|
||||
#include <mp-units/framework/quantity_concepts.h>
|
||||
@@ -39,6 +38,7 @@
|
||||
#include <mp-units/framework/reference.h>
|
||||
#include <mp-units/framework/representation_concepts.h>
|
||||
#include <mp-units/framework/symbol_text.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
#include <mp-units/framework/system_reference.h>
|
||||
#include <mp-units/framework/unit.h>
|
||||
#include <mp-units/framework/unit_concepts.h>
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
#include <mp-units/ext/inplace_vector.h>
|
||||
#include <mp-units/ext/type_traits.h>
|
||||
#include <mp-units/framework/dimension_concepts.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/symbol_text.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
|
||||
#ifndef MP_UNITS_IN_MODULE_INTERFACE
|
||||
#include <mp-units/ext/contracts.h>
|
||||
@@ -122,7 +122,7 @@ struct base_dimension : detail::dimension_interface {
|
||||
* Derived dimension is an expression of the dependence of a quantity on the base quantities of a system of quantities
|
||||
* as a product of powers of factors corresponding to the base quantities, omitting any numerical factors.
|
||||
*
|
||||
* Instead of using a raw list of exponents this library decided to use expression template syntax to make types
|
||||
* Instead of using a raw list of exponents this library decided to use symbolic expression syntax to make types
|
||||
* more digestable for the user. The positive exponents are ordered first and all negative exponents are put as a list
|
||||
* into the `per<...>` class template. If a power of exponent is different than `1` the dimension type is enclosed in
|
||||
* `power<Dim, Num, Den>` class template. Otherwise, it is just put directly in the list without any wrapper. There
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
// IWYU pragma: private, include <mp-units/framework.h>
|
||||
#include <mp-units/bits/module_macros.h>
|
||||
#include <mp-units/ext/type_traits.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/symbol_text.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
|
||||
namespace mp_units {
|
||||
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
#include <mp-units/ext/type_name.h>
|
||||
#include <mp-units/ext/type_traits.h>
|
||||
#include <mp-units/framework/dimension.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/quantity_concepts.h>
|
||||
#include <mp-units/framework/quantity_spec_concepts.h>
|
||||
#include <mp-units/framework/reference_concepts.h>
|
||||
#include <mp-units/framework/representation_concepts.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
|
||||
#ifndef MP_UNITS_IN_MODULE_INTERFACE
|
||||
#ifdef MP_UNITS_IMPORT_STD
|
||||
@@ -439,7 +439,7 @@ struct derived_quantity_spec_impl :
|
||||
* Its dimension is an expression of the dependence of a quantity on the base quantities of a system of
|
||||
* quantities as a product of powers of factors corresponding to the base quantities, omitting any numerical factors.
|
||||
*
|
||||
* Instead of using a raw list of exponents this library decided to use expression template syntax to make types
|
||||
* Instead of using a raw list of exponents this library decided to use symbolic expression syntax to make types
|
||||
* more digestable for the user both for quantity specification and its dimension. The positive exponents are ordered
|
||||
* first and all negative exponents are put as a list into the `per<...>` class template. If a power of exponent
|
||||
* is different than `1` the quantity type is enclosed in `power<Q, Num, Den>` class template. Otherwise, it is
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <mp-units/bits/hacks.h>
|
||||
#include <mp-units/bits/module_macros.h>
|
||||
#include <mp-units/framework/dimension_concepts.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
|
||||
namespace mp_units {
|
||||
|
||||
|
||||
File renamed without changes.
@@ -33,10 +33,10 @@
|
||||
#include <mp-units/ext/inplace_vector.h>
|
||||
#include <mp-units/ext/type_name.h>
|
||||
#include <mp-units/ext/type_traits.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/quantity_point_concepts.h>
|
||||
#include <mp-units/framework/quantity_spec_concepts.h>
|
||||
#include <mp-units/framework/symbol_text.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
#include <mp-units/framework/unit_concepts.h>
|
||||
#include <mp-units/framework/unit_magnitude.h>
|
||||
#include <mp-units/framework/unit_symbol_formatting.h>
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
|
||||
// IWYU pragma: private, include <mp-units/framework.h>
|
||||
#include <mp-units/bits/module_macros.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/quantity_spec_concepts.h>
|
||||
#include <mp-units/framework/symbol_text.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
#include <mp-units/framework/unit_magnitude.h>
|
||||
|
||||
namespace mp_units {
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
// IWYU pragma: private, include <mp-units/framework.h>
|
||||
#include <mp-units/bits/module_macros.h>
|
||||
#include <mp-units/ext/type_traits.h>
|
||||
#include <mp-units/framework/expression_template.h>
|
||||
#include <mp-units/framework/symbol_text.h>
|
||||
#include <mp-units/framework/symbolic_expression.h>
|
||||
|
||||
#ifndef MP_UNITS_IN_MODULE_INTERFACE
|
||||
#ifdef MP_UNITS_IMPORT_STD
|
||||
|
||||
Reference in new issue
Block a user