CI & doc update, removed multiprecision::cpp_int, simpler axis implementation, use_default to set default options

* Travis uses b2 and codecov now
* replacing boost::multiprecision with custom implementation to avoid the dependency
* improved axis implementation: `update` is now a normal method
* introduced use_default tag type to set defaults
* whitespace fixes and doc update
This commit is contained in:
Hans Dembinski
2019-02-17 13:37:50 +01:00
committed by GitHub
parent 3b110fc2a5
commit 9abbe46e3d
141 changed files with 40058 additions and 2732 deletions

View File

@@ -16,14 +16,12 @@
using namespace boost::histogram;
struct growing_axis {
using value_type = int;
auto update(value_type) { return std::make_pair(0, 0); }
};
int main() {
{
using G = growing_axis;
struct growing {
auto update(int) { return std::make_pair(0, 0); }
};
using G = growing;
using I = axis::integer<>;
using A = std::tuple<I, G>;