xo-reader2 stack: misc qol improvements + improve reader2 utest
This commit is contained in:
parent
019ef5a3a7
commit
dde29946d5
2 changed files with 13 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ namespace xo {
|
||||||
/** allocate boxed value @p x using memory from @p mm **/
|
/** allocate boxed value @p x using memory from @p mm **/
|
||||||
static DInteger * _box(obj<AAllocator> mm, long x);
|
static DInteger * _box(obj<AAllocator> mm, long x);
|
||||||
|
|
||||||
double value() const noexcept { return value_; }
|
long value() const noexcept { return value_; }
|
||||||
|
|
||||||
bool pretty(const ppindentinfo & ppii) const;
|
bool pretty(const ppindentinfo & ppii) const;
|
||||||
|
|
||||||
|
|
|
||||||
12
include/xo/object2/Integer.hpp
Normal file
12
include/xo/object2/Integer.hpp
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
/** @file Integer.hpp
|
||||||
|
*
|
||||||
|
* @author Roland Conybeare, Feb 2026
|
||||||
|
**/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "DInteger.hpp"
|
||||||
|
#include "number/IGCObject_DInteger.hpp"
|
||||||
|
#include "number/IPrintable_DInteger.hpp"
|
||||||
|
|
||||||
|
/* end Integer.hpp */
|
||||||
Loading…
Add table
Add a link
Reference in a new issue