aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/meta.cpp
Commit message (Collapse)AuthorAge
* Initialize primitives to fix -Wuninitialized-const-reference.Gravatar Antonio Sanchez2020-11-18
| | | | | | | | | | | | | The `meta` test generates warnings with the latest version of clang due to passing uninitialized variables as const reference arguments. ``` test/meta.cpp:102:45: error: variable 'f' is uninitialized when passed as a const reference argument here [-Werror,-Wuninitialized-const-reference] VERIFY(( check_is_convertible(a.dot(b), f) )); ``` We don't actually use the variables, but initializing them eliminates the new warning. Fixes #2067.
* bug #1752: make is_convertible equivalent to the std c++11 equivalent and ↵Gravatar Gael Guennebaud2019-10-10
| | | | fallback to std::is_convertible when c++11 is enabled.
* bug #1752: disable some is_convertible tests for recent compilers.Gravatar Gael Guennebaud2019-10-10
|
* Disable a bonus unit-test which is broken with gcc 4.7Gravatar Gael Guennebaud2018-08-27
|
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc
* bug #1571: fix is_convertible<from,to> with "from" a reference.Gravatar Gael Guennebaud2018-07-13
|
* Make is_convertible more robust and conformant to std::is_convertibleGravatar Gael Guennebaud2018-07-12
|
* Add unit test for has_ReturnTypeGravatar Gael Guennebaud2017-08-17
|
* bug #826: fix is_convertible for MSVC and add minimalistic unit test for ↵Gravatar Gael Guennebaud2014-07-16
| | | | is_convertible
* Clean source code and unit tests with respect to -Wunused-local-typedefsGravatar Gael Guennebaud2013-04-10
|
* Fix bug #314:Gravatar Gael Guennebaud2012-11-06
| | | | | - remove most of the metaprogramming kung fu in MathFunctions.h (only keep functions that differs from the std) - remove the overloads for array expression that were in the std namespace
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* Removed remove_const_on_value_type since the meaning is unclear and it is in ↵Gravatar Hauke Heibel2010-11-26
| | | | | | fact unused. Extened the meta unit tests.
* Postfixed add_const and remove_const by _on_value_type to express the ↵Gravatar Hauke Heibel2010-11-26
| | | | differences to the STL.
* Renamed cleantype to remove_all since it is close to ↵Gravatar Hauke Heibel2010-10-26
| | | | remove_{const|pointer|reference}.
* Initial fixes for bug #85.Gravatar Hauke Heibel2010-10-25
| | | | | | | Renamed meta_{true|false} to {true|false}_type, meta_if to conditional, is_same_type to is_same, un{ref|pointer|const} to remove_{reference|pointer|const} and makeconst to add_const. Changed boolean type 'ret' member to 'value'. Changed 'ret' members refering to types to 'type'. Adapted all code occurences.
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* email changeGravatar Gael Guennebaud2010-06-24
|
* remove sentence "Eigen itself is part of the KDE project."Gravatar Benoit Jacob2009-05-22
| | | | it never made very precise sense. but now does it still make any?
* fix a bunch of warnings (actual issues) reported by FrankGravatar Benoit Jacob2009-01-22
|
* remove stupid output in test/metaGravatar Gael Guennebaud2009-01-12
|
* bugfix in Product and ei_L2_block_traitsGravatar Gael Guennebaud2008-08-24
|
* * split Meta.h to Meta.h (generic meta programming) and XprHelper.h (relates ↵Gravatar Gael Guennebaud2008-08-24
to eigen mechanism) * added a meta.cpp unit test * EIGEN_TUNE_FOR_L2_CACHE_SIZE now represents L2 block size in Bytes (whence the ei_meta_sqrt...) * added a CustomizeEigen.dox page * added a TOC to QuickStartGuide.dox