Profile cover photo
Profile photo
Björn Fahller
About
Björn's interests
View all
Björn's posts

Post has attachment
constexpr quicksort in C++17
So I've written about compile time quick sort twice before ( 2011  and 2015 ,) but now when C++17 support is becoming available, I thought I'd try it again. I'll be taking advantage of std::integral_constant<type, value> a lot. It has the advantage that it ...

Post has shared content
Using Trompeloeil, a mocking framework for modern C++ - Bjorn Fahller [ACCU 2017]

#cpp
#cplusplus

Post has shared content

Post has shared content

Post has shared content

Post has shared content

Post has shared content

Post has attachment
Tagged stable v23 of the Trompeloeil C++14 mocking framework.

* Negate matchers with operator !
* Almost Always Auto for sequence objects
* Internal refactoring for much faster builds.

#cplusplus #cpp14 #tdd


Post has shared content

Post has attachment
Higher order functions as an enabler for lazy evaluation
Yesterdays post about Generating lambdas for clarity and performance  showed how to make use of higher order functions to improve clarity while giving the optimiser a chance to improve performance, but the example used retained the original inflexible desig...
Wait while more posts are being loaded