This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
Releases: JustWhit3/ptc-print
Releases · JustWhit3/ptc-print
1.4.1
1.4.0
Updates
- Build system update with CMake.
- Benchmarking studies update: added studies with p-ranav/pprint library.
1.3.0
1.2.1
1.2.0
Updates
- Added support to C++20
std::chrono::duration
objects (days, weeks, months and years). - Added support for C++20
char8_t
types. - Added pretty printer for C pointers printing.
- Added support to
std::optional
printing. - Corrected a bug in
include_tests.sh
script for which multiple includes didn't correctly work. - Minor bugs fixing.
1.1.0
1.0.0 (first official release)
Updates
- Added support to
std::chrono::duration
printing. - Added support to
wchar_t
printing. Closed the related issue. - Added function
StringConverter
to convertchar
intowchar_t
. - Added support to container adaptors (
std::stack
andstd::priority_queue
). - Added two methods:
setPattern()
andgetPattern()
to set a specific pattern to be repeated for eachptc::print
argument. - Added executable size studies.
- Added utils tests.
- Added compilation time improvements preprocessor directive:
PTC_DISABLE_STD_TYPES_PRINTING
. - Generic performance improvements.
- Benchmarking studies have been made more stable.
- Added date to plots.
- Added structs to select
cout
objects in case ofchar
orwchar_t
usage. - Removed unuseful
is_null_str()
method and all the corresponding attributes. - Documentation update.
0.4.0
Updates
- Added compilation time studies.
- Added
operator <<
overload for all std containers printing. A few of them are still missing: see this issue. - Added custom support to
std::complex
printing. - Added
operator <<
overload for C arrays. - Swtich cases have been updated and usage of enum class
ANSI
has been provided. - Enabled the possibility to print
std::nullptr_t
objects. - Documentation update.
0.3.0
Updates
- Added a new feature to enable performance improvements using the
PTC_ENABLE_PERFORMANCE_IMPROVEMENTS
preprocessor directive. See here. - Added benchmark plots and studies.
- Added script for benchmarking plots production.
- A bug about missing
inline
declarations has been fixed by MiiKaa3. - The name of the
__print__
class has been changed into "Print". - Added tests for multiple includes.
- Added feature request and issue template documents.
- Documentation update.
0.2.0
Updates
- Added
operator ()
overload for string initialization:
std::string msg = ptc::print( ptc::mode::str, "I am a", "string!" )
- Added a corresponding enum class
mode
to deal with string initialization. - The whole library has been moved into the
include
directory. - Benchmarking studies have been moved into the
studies/benchmarking
directory. operator ()
redefiniton has been generally updated in order to deal with correct outpu rendering in case of ANSI escape sequences usage.- Destructor has been reset.
- Added clang compiler support and tests.
- Improvements in the
is_escape
function. - Generic tests improvements: added
cppcheck
tool and threading tests. - Documentation update.