-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Question1:
template <typename T, int32_t Digits> class TestFixedPoint {
public:
TestFixedPoint(T t) : value_(t) {}
private:
T value_;
BINLOG_ADAPT_STRUCT_FRIEND;
};
using TestPrice = TestFixedPoint<int64_t, 9>;
BINLOG_ADAPT_TEMPLATE((typename Interl, int Digits),
(TestFixedPoint<Interl, Digits>), value_)
BINLOG_INFO_W(writer, "my log MyPrice: {}", myPrice);
Compile time error:
binlog/include/mserialize/make_template_serializable.hpp:75:84: 错误:‘long int TestFixedPoint<long int, 9>::value_’ is private within this context
Question2:
if T == __int128 then throw "This Arithmetic type is not taggable" at tag.hpp line 79
Metadata
Metadata
Assignees
Labels
No labels