meta icon indicating copy to clipboard operation
meta copied to clipboard

A tiny metaprogramming library

Results 25 meta issues
Sort by recently updated
recently updated
newest added

I needed a runtime visitor analogue to `meta::for_each`: ```cpp using List = meta::list; std::size_t index = 2 meta::visit(2, [](auto type){ std::cout = map.size()){ throw std::out_of_range();} map[index](std::forward(f)); } } // namespace...

Hi I am wondering if the interface of transform is wrong? According to: https://github.com/ericniebler/meta/blob/9780f3527839caa83d8f9ebe43953e067351c40b/include/meta/meta.hpp#L1522-L1523 it can only be called with arguments. But where is the fun without a `Fun` template?...

`meta`'s test coverage is somewhat limited (although @kedarbhat is working on adding more). range-v3 and cmcstl2 are the `real` meta test suite; we should incorporate them into the continuous integration...

There are issues in the interaction between the concept constraints in meta and the lambda implementation that need to be investigated. Concepts are applied when forming a template-id, even before...

... which has divergent variations in `meta`, `range-v3`, and `cmcstl2`.

Is there any way to utilize this on `MSVC`? I'm getting compiler errors when I try.

What are the benefits of using `meta` instead of `boost::hana`? I think `boost::hana` can do the same and much more (glue between compile-time and run-time), and meta ist partially a...

Metabench is timing out because of it: https://travis-ci.org/ldionne/metabench/jobs/294051656#L1991 Also, graphs agree with this: http://metaben.ch/type/clang++-4.0/partition/index.html It's fine if there's no desire to make it faster, but I'll reduce its range from...

``` c++ #include struct is_positive { template using invoke = meta::bool_ 0)>; }; using list = meta::list< meta::int_, meta::int_, meta::int_, meta::int_ >; using result = meta::all_of; ``` ...results in: ```...