Open ktsiam opened 5 years ago
It's when I call it with no arguments. If I call it with arguments it works fine.
Valgrind output:
==64859== Memcheck, a memory error detector
==64859== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==64859== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==64859== Command: ./ppdemo
==64859==
Printing pairs.
Vector: []
Incremental vector: []
Pairs: []
Another vector: || ||
Set: {}
OMap: []
UMap: []
String:
Array: [h, e, l, l, o]
Valarray: [1, -0.5, 0.25, -0.125]
Reusable delimiters: <>
Custom, type-erased delimiters: <>
Custom, type-erased delimiters: <1729>
Custom, type-erased delimiters: <Qrgh; (Jello, 9); 11>
Static C array: [1, 4, 9, 16]
Static C array: [2]
Static C array with length: [4, 9]
Pair: (Jello, 9)
0-tuple: ()
1-tuple: (1729)
n-tuple: (Qrgh, (Jello, 9), 11)
n-tuple: (1729, 2875, (1.5, abc))
==64859== Invalid read of size 8
==64859== at 0x100005DD3: pretty_print::print_container_helper<pretty_print::bucket_print_wrapper<std::1::unordered_map<int, std::__1::basic_string<char, std::1::char_traits
Call stack traceback?