blitzpp / blitz

Blitz++ Multi-Dimensional Array Library for C++
https://github.com/blitzpp/blitz/wiki
Other
405 stars 84 forks source link

Code generation with preprocessor metaprogramming #163

Open vukics opened 4 years ago

vukics commented 4 years ago

Using Boost.Preprocessor for slicing operator to accept any number of arguments. (Cf. #44)

slayoo commented 4 years ago

We need to add checks for Boost to CMakeLists.txt, also .travis.yml and appveyor.yml files need an update to make continuous integration be "green".

And a question that was around for some time - are we OK to make Boost a required dependency or rather an option (like with serialisation and MPI)?

@citibeth @pguio @papadop ?

vukics commented 4 years ago

@slayoo Yes, Boost dependency is an important decision to make.

Also, at present it’s only a proof of principle in this branch, a lot more code repetitions should be replaced with Boost.Preprocessor like this to make it worth adding this dependency.