mirror of
https://github.com/boostorg/histogram.git
synced 2026-02-18 14:12:11 +00:00
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:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user