Comments (4)
Gated by conan-io/conan-docker-tools#158.
from mp-units.
gcc 9.2. available in Travis CI so we can progress with this issue.
from mp-units.
What's the scope here?
Some Candidates:
egrep -snr 'template.*Ratio' src
src/include/units/concepts.h:59:// template<typename PrefixType, Ratio R, basic_fixed_string Symbol>
src/include/units/concepts.h:85:template<UnitRatio R, typename U>
src/include/units/quantity_cast.h:70:template<typename To, typename CRatio, typename CRep, bool NumIsOne = false, bool DenIsOne = false>
src/include/units/quantity_cast.h:90:template<typename To, typename CRatio, typename CRep>
src/include/units/quantity_cast.h:103:template<typename To, typename CRatio, typename CRep>
src/include/units/quantity_cast.h:116:template<typename To, typename CRatio, typename CRep>
src/include/units/bits/unit_text.h:32:template<typename Ratio>
src/include/units/bits/unit_text.h:66:template<typename Ratio, typename PrefixType>
src/include/units/bits/deduced_unit.h:37:template<typename Result, int UnitExpNum, int UnitExpDen, typename UnitRatio>
src/include/units/bits/deduced_unit.h:40:template<typename Result, int UnitExpDen, typename UnitRatio>
src/include/units/bits/deduced_unit.h:45:template<typename Result, int UnitExpNum, int UnitExpDen, typename UnitRatio>
src/include/units/unit.h:52:template<UnitRatio R, typename U>
src/include/units/unit.h:58:template<Dimension D, UnitRatio R>
src/include/units/unit.h:118:template<typename Child, basic_fixed_string Symbol, PrefixType PT, UnitRatio R, Unit U>
src/include/units/prefix.h:48:template<PrefixType PT, Ratio R>
src/include/units/prefix.h:71:template<typename Child, PrefixType PT, basic_fixed_string Symbol, Ratio R>
src/include/units/ratio.h:68:// template<Ratio R1, Ratio R2>
src/include/units/ratio.h:98:// template<Ratio R1, Ratio R2>
src/include/units/ratio.h:107:// template<Ratio R1, Ratio R2>
src/include/units/ratio.h:112:// template<Ratio R1, Ratio R2>
src/include/units/ratio.h:159:template<Ratio R1, Ratio R2>
src/include/units/ratio.h:177:template<Ratio R1, Ratio R2>
src/include/units/ratio.h:201:template<Ratio R, std::intmax_t N>
src/include/units/ratio.h:221:template<Ratio R>
src/include/units/ratio.h:247:template<Ratio R>
src/include/units/ratio.h:266:template<Ratio R1, Ratio R2>
from mp-units.
I think that all of the above. We need to implement it on a branch and then assess how it (hopefully ;-) ) simplifies the code and how it affects compile times. From my early experiments with metabench the results should be positive but still, we have to confirm this on a larger codebase (i.e. template instantiations memoization in a compiler may be a significant factor here that was not covered by the metabench tests).
from mp-units.
Related Issues (20)
- Improve the definition of a value-preserving conversion HOT 2
- Fail to compile v2.0.0 with MSVC HOT 6
- [Feature Request] Allow passing of CMake flag to disable example build HOT 5
- feat!: composable symbols HOT 11
- `make_quantity` or a constructor with two arguments? HOT 4
- conan2 + mp-units 2.0.0 seem incompatible. HOT 2
- Agnostic comparisons to zero? HOT 7
- fatal error: no matching function for call to 'fma' HOT 4
- isfinite should be added to math.h HOT 8
- Should `quantity_point_like_traits` work on raw values?
- Consider using two types instead of values for the template parameters of the `reference` type HOT 1
- Bikeshedding `force_in(Unit)` HOT 10
- Change `mp-units/2.1.0` to `mp-units/2.0.0` in Conan installation steps? HOT 2
- Add support for easier math expressions in `mp-units/math.h` HOT 17
- Should we allow deriving from system entities? HOT 2
- No 2.1.0 in Conan center HOT 3
- ice_point definition is (very very slightly) incorrect
- Do we really need ASCII-only text output? HOT 13
- Text input support
- formatting/printing vector of quantities results in compile time error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mp-units.