Releases: philip82148/cpp-dump
Releases · philip82148/cpp-dump
v0.7.0
Features:
- Add the
udec()
,ubin()
,uoct()
, anduhex()
manipulators - Improve the appearance of the bin, oct, and hex integers
- Add the
format()
,bw()
,boolnum()
,stresc()
,charhex()
, andaddr()
manipulators - Add the
CPP_DUMP_SET_OPTION_GLOBAL()
macro - Add
write_log()
to make the output destination customizable - Make
cpp_dump()
IDE-friendly (#55) - Add a new color scheme
es_style_t::by_syntax
- Add the
detailed_class_es
,detailed_member_es
, anddetailed_number_es
options - Add support for nonprintable chars
- Add the
CPP_DUMP_DEFINE_EXPORT_OBJECT_GENERIC()
macro - Add the
cpp-dump.hpp
header - Add support for installation with CMake
- Fix some bugs and improve performance
Breaking changes:
- Add
options
andtypes
namespace, and move variables and types into them - Add the
escaped_char
,class_op
,member_op
andnumber_op
members toes_value_t
- Rename the old
es_style_t::by_syntax
->es_style_t::original
- Modify the functionality, default values, or types of the
int_style()
and its alias manipulators' arguments - Change the argument of
both_ends()
manipulatoriteration_count
->half_iteration_count
- Modify the
log_label_func_t
type
Deprecated:
- The
dump.hpp
header. Use thecpp-dump.hpp
header instead (See #100 for details) - The uppercase
CPP_DUMP()
macro. Use the lowercasecpp_dump()
macro instead (See #92 for details) - The
CPP_DUMP_DEFINE_DANGEROUS_EXPORT_OBJECT()
macro. UseCPP_DUMP_DEFINE_EXPORT_OBJECT_GENERIC()
macro instead (See #98 for details)
v0.6.0
Features:
- Add
cpp_dump::dec()
,bin()
,oct()
,hex()
manipulators - Add
cpp_dump::cont_indent_style
option - Fix some bugs and improve performance
Breaking changes:
- Remove
cpp_dump::int_style10()
(Please usecpp_dump::dec()
instead) - Shorten the names of some of the manipulators:
cpp_dump::show_front()
->cpp_dump::front()
cpp_dump::show_middle()
->cpp_dump::middle()
cpp_dump::show_back()
->cpp_dump::back()
cpp_dump::show_both_ends()
->cpp_dump::both_ends()
cpp_dump::cont_index()
->cpp_dump::index()
v0.5.0
Features:
- Add
cpp_dump::enable_asterisk
option - Add
cpp_dump::print_expr
option
Breaking change:
- Remove
cpp_dump::dump()
- Remove
cpp_dump::is_exportable<>
v0.4.0
Features:
- Add support for
std::ostream& operator<<(const T &)
- Add
CPP_DUMP_DEFINE_DANGEROUS_EXPORT_OBJECT()
macro - Add support for
std::type_info
,std::type_index
,std::source_location
- Make it possible to print with the filename, line no., and function name.
- Add the pipe operator of the manipulators.
- Add
cont_index()
manipulator - Add support for user tuples
- Fixed some bugs
Breaking changes:
- Shorten the names of
map_*
manipulators - Change the type of
cpp_dump::log_label_func
tocpp_dump::log_label::log_label_func_t
v0.3.0
Features:
- Add
show_*()
and other manipulators - Add small
cpp_dump()
macro
v0.2.0
Features:
- Add color.
- Make "[dump]" customizable.
v0.1.0
First release!