ldionne on gh-pages
Update benchmarks to 490dbf6 fo… (compare)
ldionne on gh-pages
Update benchmarks to 490dbf6 fo… (compare)
ldionne on gh-pages
Update benchmarks to 490dbf6 fo… (compare)
ldionne on gh-pages
Update benchmarks to 490dbf6 fo… (compare)
ldionne on gh-pages
Update benchmarks to 490dbf6 fo… (compare)
```
struct position
{
float x, y;
};
struct velocity
{
float x, y;
};
int main()
{
auto tup = hana::make_tuple(position{1,2}, velocity{1,2});
auto tup_ref = hana::transform(tup, [](auto& t) { return std::ref(t); });
auto test = hana::filter(tup_ref, [](auto& tref){
return hana::bool_c<true>;
});
}
readelf -sV /usr/lib/libstdc++.so.6 | sed -n 's/.*@@GLIBCXX_//p' | sort -u -V | tail -1
hana::pair
. (maybe it would be faster if it wasn't a wrapper for a basic_tuple
idk)
hana::type
s, since it was broken (the specialization would never match), and I did not take time to reimplement it properly.
develop
. Check the changes out, then we’ll discuss them.
; Function Attrs: uwtable
define i32 @main() #3 {
%1 = alloca %struct.Silent, align 1
call void @_Z5helloI6SilentEvT_()
ret i32 0
}
; Function Attrs: nounwind uwtable
define linkonce_odr void @_Z5helloI6SilentEvT_() #4 comdat {
%1 = alloca %struct.Silent, align 1
ret void
}
auto r4 =
hana::unpack(t, [](auto&... r) { return ranges::view::concat(r...); });
int
main()
{
std::vector<int> iv{ 1, 3, 4, 5 };
std::vector<float> fv{ 1, 3, 4, 5 };
auto r1 = ranges::view::all(iv);
auto r2 = ranges::view::all(fv);
auto r3 = ranges::view::zip(r1, r2);
auto rint =
ranges::view::zip(r3, ranges::view::closed_ints(0ul, ranges::size(r3)));
auto t = hana::make_tuple(rint, rint);
auto r4 =
hana::unpack(t, [](auto&... r) { return ranges::view::concat(r...); });
//crash
for(auto t: r4){
}
}
clang++ -E -x c++ - -v < /dev/null
and see if the header search paths help you. Otherwise, see this SO question.
@ricejasonf
Did your clang built-in ever get looked at?
Not yet... Still waiting.
The search bar in the docs appears to be broken.
How is it broken? It seems to work for me.