Show EOL distros:
ecl_core: ecl_command_line | ecl_concepts | ecl_containers | ecl_converters | ecl_core_apps | ecl_devices | ecl_eigen | ecl_exceptions | ecl_formatters | ecl_geometry | ecl_ipc | ecl_linear_algebra | ecl_math | ecl_mpl | ecl_sigslots | ecl_statistics | ecl_streams | ecl_threads | ecl_time | ecl_type_traits | ecl_utilities
Package Summary
Released
Documented
Metaprogramming tools move alot of runtime calculations to be shifted to compile time. This has only very elementary structures at this stage.
- Maintainer status: developed
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_core/issues
- Source: git https://github.com/stonier/ecl_core.git (branch: hydro-devel)
Contents
Compiling & Linking
Include the following at the top of any translation unit:
Toggle line numbers
1 #include <ecl/mpl.hpp>
2
3 // The concept definition/validation classes.
4 using ecl::Bool; // compile time logic testing of template parameters
5 using ecl::enable_if; // selective specialisation of classes via the template parameters
6 using ecl::Unsigned; // type converters
7
Tutorials
Boolean Logic : using compile time boolean types for metaprogramming.
Enable If : an if operator for template type arguments.
Converters : compile time type converters.