Skip to content

Instantly share code, notes, and snippets.

View mattkretz's full-sized avatar

Matthias Kretz mattkretz

View GitHub Profile
  • 3c82ead Adjust tests to avoid invalid SimdArray instantiations - Matthias Kretz
  • cb2f84c SimdArray: error for instantiations that break subscripting - Matthias Kretz
  • c62972d MIC: Fix copysign implementation - Matthias Kretz
  • da83c44 Deprecate Vector::copySign in favor of Vc::copysign - Matthias Kretz
  • f121987 Add test for copysign - Matthias Kretz
  • 2701e14 New SimdArray ctor overloads to fix loads from C-arrays - Matthias Kretz
  • cbbb6d2 Extend load test to load from T[] - Matthias Kretz
  • 8137441 test case for failing construction of Vc::SimdArray<int,2> - Sandro Wenzel
  • [02baab4](https://github.com/VcDev
@mattkretz
mattkretz / .gitconfig
Last active November 27, 2015 11:26 — forked from ErisDS/.gitconfig
Changelog generator: add this to your ~/.gitconfig file, and then run `git cl x.x.x..x.x.x+1` E.g. `git cl 0.7.1..0.7.2`
[alias]
cl = log --no-merges --pretty=tformat:'* [`%h`](https://github.com/VcDevel/Vc/commit/%h) %s - %an'
template <typename... Ts> struct A
{
template <typename U, template <typename, typename, U> class C, U value>
using B = C<Ts..., value>;
};
#include <type_traits>
#include <utility>
template<typename F, typename A>
std::true_type test(int bla);
template<typename F, typename A>
std::false_type test(...);
template<typename F, typename A>
#include <type_traits>
#include <utility>
template<typename T> struct X { typedef std::true_type type; };
template<typename T>
using tester = typename X<T>::type;
template<typename T>
typename std::enable_if<tester<T>::value, int>::type foo()