LLVMFuzzerTestOneInput:
   13|  4.39k|{
   14|  4.39k|    std::string input(reinterpret_cast<const char*>(data), size);
   15|  4.39k|    std::istringstream is(input);
   16|  4.39k|    try {
   17|  4.39k|       json j2 = bson::decode_bson<json>(is);
   18|  4.39k|    }
   19|  4.39k|    catch(const jsoncons::ser_error&) {}
   20|       |
   21|  4.39k|    return 0;
   22|  4.39k|}

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|   132k|    {
   31|   132k|        return alloc_;
   32|   132k|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  10.2k|        : alloc_(alloc)
   26|  10.2k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  76.4k|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2791|  88.3M|        {
 2792|  88.3M|             destroy();
 2793|  88.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  903|  88.3M|        {
  904|  88.3M|            switch (storage_kind())
  905|  88.3M|            {
  906|  14.0k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (906:17): [True: 14.0k, False: 88.2M]
  ------------------
  907|  14.0k|                {
  908|  14.0k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (908:25): [True: 14.0k, False: 0]
  ------------------
  909|  14.0k|                    {
  910|  14.0k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  911|  14.0k|                    }
  912|  14.0k|                    break;
  913|      0|                }
  914|  16.4k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (914:17): [True: 16.4k, False: 88.2M]
  ------------------
  915|  16.4k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (915:25): [True: 16.4k, False: 0]
  ------------------
  916|  16.4k|                    {
  917|  16.4k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  918|  16.4k|                    }
  919|  16.4k|                    break;
  920|  39.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (920:17): [True: 39.8k, False: 88.2M]
  ------------------
  921|  39.8k|                {
  922|  39.8k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (922:25): [True: 39.8k, False: 0]
  ------------------
  923|  39.8k|                    {
  924|  39.8k|                        auto& stor = cast<array_storage>();
  925|  39.8k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  926|  39.8k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  927|  39.8k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  928|  39.8k|                    }
  929|  39.8k|                    break;
  930|      0|                }
  931|  36.6k|                case json_storage_kind::object:
  ------------------
  |  Branch (931:17): [True: 36.6k, False: 88.2M]
  ------------------
  932|  36.6k|                {
  933|  36.6k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (933:25): [True: 36.6k, False: 0]
  ------------------
  934|  36.6k|                    {
  935|  36.6k|                        auto& stor = cast<object_storage>();
  936|  36.6k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  937|  36.6k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  938|  36.6k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  939|  36.6k|                    }
  940|  36.6k|                    break;
  941|      0|                }
  942|  88.2M|                default:
  ------------------
  |  Branch (942:17): [True: 88.2M, False: 106k]
  ------------------
  943|  88.2M|                    break;
  944|  88.3M|            }
  945|  88.3M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1467|   254M|        {
 1468|       |            // It is legal to access 'common_.storage_kind_' even though 
 1469|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1470|       |            // is a part of the common initial sequence of all union members
 1471|       |            // as defined in 11.4-25 of the Standard.
 1472|   254M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1473|   254M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1009|   230k|        {
 1010|   230k|            return cast(identity<T>());
 1011|   230k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1100|   230k|        {
 1101|   230k|            return long_str_;
 1102|   230k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1009|   159k|        {
 1010|   159k|            return cast(identity<T>());
 1011|   159k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1110|   159k|        {
 1111|   159k|            return byte_str_;
 1112|   159k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1009|  5.52M|        {
 1010|  5.52M|            return cast(identity<T>());
 1011|  5.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  5.52M|        {
 1131|  5.52M|            return array_;
 1132|  5.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2312|  67.1M|        {
 2313|  67.1M|            uninitialized_move(std::move(other));
 2314|  67.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1307|  67.1M|        {
 1308|  67.1M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1308:17): [True: 66.9M, False: 163k]
  ------------------
 1309|  66.9M|            {
 1310|  66.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1311|  66.9M|            }
 1312|   163k|            else
 1313|   163k|            {
 1314|   163k|                switch (other.storage_kind())
 1315|   163k|                {
 1316|  37.1k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1316:21): [True: 37.1k, False: 126k]
  ------------------
 1317|  37.1k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1318|  37.1k|                        other.construct<null_storage>();
 1319|  37.1k|                        break;
 1320|  21.2k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1320:21): [True: 21.2k, False: 142k]
  ------------------
 1321|  21.2k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1322|  21.2k|                        other.construct<null_storage>();
 1323|  21.2k|                        break;
 1324|  55.5k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1324:21): [True: 55.5k, False: 107k]
  ------------------
 1325|  55.5k|                        construct<array_storage>(other.cast<array_storage>());
 1326|  55.5k|                        other.construct<null_storage>();
 1327|  55.5k|                        break;
 1328|  49.2k|                    case json_storage_kind::object:
  ------------------
  |  Branch (1328:21): [True: 49.2k, False: 114k]
  ------------------
 1329|  49.2k|                        construct<object_storage>(other.cast<object_storage>());
 1330|  49.2k|                        other.construct<null_storage>();
 1331|  49.2k|                        break;
 1332|      0|                    default:
  ------------------
  |  Branch (1332:21): [True: 0, False: 163k]
  ------------------
 1333|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1334|      0|                        break;
 1335|   163k|                }
 1336|   163k|            }
 1337|  67.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
 1000|  94.3k|        {
 1001|  94.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  94.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  631|   151k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  632|   151k|            {
  633|   151k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
 1000|   163k|        {
 1001|   163k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   163k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1009|  21.3M|        {
 1010|  21.3M|            return cast(identity<T>());
 1011|  21.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1020|  21.3M|        {
 1021|  21.3M|            return null_;
 1022|  21.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  455|  20.9M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  456|  20.9M|            {
  457|  20.9M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
 1000|  54.9k|        {
 1001|  54.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  54.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  680|  88.6k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  681|  88.6k|            {
  682|  88.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
 1000|   137k|        {
 1001|   137k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   137k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  732|   218k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  733|   218k|            {
  734|   218k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
 1000|   104k|        {
 1001|   104k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   104k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  782|   159k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  783|   159k|            {
  784|   159k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4755|  3.54k|        {
 4756|  3.54k|            switch (storage_kind())
 4757|  3.54k|            {
 4758|  3.54k|                case json_storage_kind::array:
  ------------------
  |  Branch (4758:17): [True: 3.54k, False: 0]
  ------------------
 4759|  3.54k|                    return array_range_type(cast<array_storage>().value().begin(),
 4760|  3.54k|                        cast<array_storage>().value().end());
 4761|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4761:17): [True: 0, False: 3.54k]
  ------------------
 4762|      0|                    return cast<json_ref_storage>().value().array_range();
 4763|      0|                default:
  ------------------
  |  Branch (4763:17): [True: 0, False: 3.54k]
  ------------------
 4764|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4765|  3.54k|            }
 4766|  3.54k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  5.12M|            {
  756|  5.12M|                return *ptr_;
  757|  5.12M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  353|  3.54k|            : first_(first), last_(last)
  354|  3.54k|        {
  355|  3.54k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  358|  3.54k|        {
  359|  3.54k|            return first_;
  360|  3.54k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  362|  3.54k|        {
  363|  3.54k|            return last_;
  364|  3.54k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3420|  9.17k|        {
 3421|  9.17k|            switch (storage_kind())
 3422|  9.17k|            {
 3423|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3423:17): [True: 0, False: 9.17k]
  ------------------
 3424|      0|                    return cast<byte_string_storage>().length() == 0;
 3425|      0|                    break;
 3426|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3426:17): [True: 0, False: 9.17k]
  ------------------
 3427|      0|                    return cast<short_string_storage>().length() == 0;
 3428|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 9.17k]
  ------------------
 3429|      0|                    return cast<long_string_storage>().length() == 0;
 3430|  5.65k|                case json_storage_kind::array:
  ------------------
  |  Branch (3430:17): [True: 5.65k, False: 3.52k]
  ------------------
 3431|  5.65k|                    return cast<array_storage>().value().empty();
 3432|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3432:17): [True: 0, False: 9.17k]
  ------------------
 3433|      0|                    return true;
 3434|  3.52k|                case json_storage_kind::object:
  ------------------
  |  Branch (3434:17): [True: 3.52k, False: 5.65k]
  ------------------
 3435|  3.52k|                    return cast<object_storage>().value().empty();
 3436|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3436:17): [True: 0, False: 9.17k]
  ------------------
 3437|      0|                    return cast<const_json_ref_storage>().value().empty();
 3438|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3438:17): [True: 0, False: 9.17k]
  ------------------
 3439|      0|                    return cast<json_ref_storage>().value().empty();
 3440|      0|                default:
  ------------------
  |  Branch (3440:17): [True: 0, False: 9.17k]
  ------------------
 3441|      0|                    return false;
 3442|  9.17k|            }
 3443|  9.17k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1015|  5.65k|        {
 1016|  5.65k|            return cast(identity<T>());
 1017|  5.65k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1135|  5.65k|        {
 1136|  5.65k|            return array_;
 1137|  5.65k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  760|  5.65k|            {
  761|  5.65k|                return *ptr_;
  762|  5.65k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1015|  3.52k|        {
 1016|  3.52k|            return cast(identity<T>());
 1017|  3.52k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1125|  3.52k|        {
 1126|  3.52k|            return object_;
 1127|  3.52k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  806|  3.52k|            {
  807|  3.52k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  3.52k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.52k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  808|  3.52k|                return *ptr_;
  809|  3.52k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4151|  6.86k|        {
 4152|  6.86k|            switch (storage_kind())
 4153|  6.86k|            {
 4154|  3.54k|                case json_storage_kind::array:
  ------------------
  |  Branch (4154:17): [True: 3.54k, False: 3.31k]
  ------------------
 4155|  3.54k|                    cast<array_storage>().value().clear();
 4156|  3.54k|                    break;
 4157|  3.31k|                case json_storage_kind::object:
  ------------------
  |  Branch (4157:17): [True: 3.31k, False: 3.54k]
  ------------------
 4158|  3.31k|                    cast<object_storage>().value().clear();
 4159|  3.31k|                    break;
 4160|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4160:17): [True: 0, False: 6.86k]
  ------------------
 4161|      0|                    cast<json_ref_storage>().value().clear();
 4162|      0|                    break;
 4163|      0|                default:
  ------------------
  |  Branch (4163:17): [True: 0, False: 6.86k]
  ------------------
 4164|      0|                    break;
 4165|  6.86k|            }
 4166|  6.86k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  800|  23.1k|            {
  801|  23.1k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  23.1k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 23.1k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  802|  23.1k|                return *ptr_;
  803|  23.1k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4721|  3.31k|        {
 4722|  3.31k|            switch (storage_kind())
 4723|  3.31k|            {
 4724|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4724:17): [True: 0, False: 3.31k]
  ------------------
 4725|      0|                    return object_range_type(object_iterator(), object_iterator());
 4726|  3.31k|                case json_storage_kind::object:
  ------------------
  |  Branch (4726:17): [True: 3.31k, False: 0]
  ------------------
 4727|  3.31k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4728|  3.31k|                                                  object_iterator(cast<object_storage>().value().end()));
 4729|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4729:17): [True: 0, False: 3.31k]
  ------------------
 4730|      0|                    return cast<json_ref_storage>().value().object_range();
 4731|      0|                default:
  ------------------
  |  Branch (4731:17): [True: 0, False: 3.31k]
  ------------------
 4732|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4733|  3.31k|            }
 4734|  3.31k|        }
_ZN8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEEC2ERKSI_SP_:
  353|  3.31k|            : first_(first), last_(last)
  354|  3.31k|        {
  355|  3.31k|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  122|  6.63k|            explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)  
  123|  6.63k|            {
  124|  6.63k|            }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  358|  3.31k|        {
  359|  3.31k|            return first_;
  360|  3.31k|        }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  362|  3.31k|        {
  363|  3.31k|            return last_;
  364|  3.31k|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  225|  7.73k|            {
  226|  7.73k|                return !(*this == rhs);
  227|  7.73k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  213|  7.73k|            {
  214|  7.73k|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (214:21): [True: 0, False: 7.73k]
  |  Branch (214:36): [True: 0, False: 7.73k]
  ------------------
  215|      0|                {
  216|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (216:28): [True: 0, False: 0]
  ------------------
  217|      0|                }
  218|  7.73k|                else
  219|  7.73k|                {
  220|  7.73k|                    return it_ == rhs.it_;
  221|  7.73k|                }
  222|  7.73k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  144|  4.41k|            {
  145|  4.41k|                return *it_;
  146|  4.41k|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  154|  4.41k|            {
  155|  4.41k|                ++it_;
  156|  4.41k|                return *this;
  157|  4.41k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1009|   341k|        {
 1010|   341k|            return cast(identity<T>());
 1011|   341k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|   341k|        {
 1121|   341k|            return object_;
 1122|   341k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2280|  4.39k|        {
 2281|  4.39k|            construct<empty_object_storage>(semantic_tag::none);
 2282|  4.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
 1000|  4.39k|        {
 1001|  4.39k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  4.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1009|  8.36k|        {
 1010|  8.36k|            return cast(identity<T>());
 1011|  8.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1030|  8.36k|        {
 1031|  8.36k|            return empty_object_;
 1032|  8.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  467|  4.39k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  468|  4.39k|            {
  469|  4.39k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3479|  6.16k|        {
 3480|  6.16k|            if (n > 0)
  ------------------
  |  Branch (3480:17): [True: 6.16k, False: 0]
  ------------------
 3481|  6.16k|            {
 3482|  6.16k|                switch (storage_kind())
 3483|  6.16k|                {
 3484|  6.16k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3484:21): [True: 6.16k, False: 0]
  ------------------
 3485|  6.16k|                        cast<array_storage>().value().reserve(n);
 3486|  6.16k|                        break;
 3487|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3487:21): [True: 0, False: 6.16k]
  ------------------
 3488|      0|                        create_object_implicitly();
 3489|      0|                        cast<object_storage>().value().reserve(n);
 3490|      0|                        break;
 3491|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3491:21): [True: 0, False: 6.16k]
  ------------------
 3492|      0|                        cast<object_storage>().value().reserve(n);
 3493|      0|                        break;
 3494|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3494:21): [True: 0, False: 6.16k]
  ------------------
 3495|      0|                        cast<json_ref_storage>().value().reserve(n);
 3496|      0|                        break;
 3497|      0|                    default:
  ------------------
  |  Branch (3497:21): [True: 0, False: 6.16k]
  ------------------
 3498|      0|                        break;
 3499|  6.16k|                }
 3500|  6.16k|            }
 3501|  6.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2325|  36.6k|        {
 2326|  36.6k|            auto ptr = create_object(alloc);
 2327|  36.6k|            construct<object_storage>(ptr, tag);
 2328|  36.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  981|  36.6k|        {
  982|  36.6k|            using stor_allocator_type = typename object_storage::allocator_type;
  983|  36.6k|            stor_allocator_type stor_alloc(alloc);
  984|  36.6k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  985|  36.6k|            JSONCONS_TRY
  ------------------
  |  |   37|  36.6k|    #define JSONCONS_TRY try
  ------------------
  986|  36.6k|            {
  987|  36.6k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  988|  36.6k|                    std::forward<Args>(args)...);
  989|  36.6k|            }
  990|  36.6k|            JSONCONS_CATCH(...)
  991|  36.6k|            {
  992|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  993|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  994|      0|            }
  995|  36.6k|            return ptr;
  996|  36.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  36.6k|        {
 1001|  36.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  36.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  777|  36.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  778|  36.6k|            {
  779|  36.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1458|  44.0M|        {
 1459|  44.0M|            if (this != &other)
  ------------------
  |  Branch (1459:17): [True: 44.0M, False: 0]
  ------------------
 1460|  44.0M|            {
 1461|  44.0M|                move_assignment(std::move(other));
 1462|  44.0M|            }
 1463|  44.0M|            return *this;
 1464|  44.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1420|  44.0M|        {
 1421|  44.0M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1421:17): [True: 44.0M, False: 0]
  |  Branch (1421:55): [True: 43.8M, False: 225k]
  ------------------
 1422|  43.8M|            {
 1423|  43.8M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1424|  43.8M|            }
 1425|   225k|            else
 1426|   225k|            {
 1427|   225k|                swap(other);
 1428|   225k|            }
 1429|  44.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4697|  5.11M|        {
 4698|  5.11M|            switch (storage_kind())
 4699|  5.11M|            {
 4700|  5.11M|                case json_storage_kind::array:
  ------------------
  |  Branch (4700:17): [True: 5.11M, False: 0]
  ------------------
 4701|  5.11M|                    cast<array_storage>().value().push_back(std::move(val));
 4702|  5.11M|                    break;
 4703|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4703:17): [True: 0, False: 5.11M]
  ------------------
 4704|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4705|      0|                    break;
 4706|      0|                default:
  ------------------
  |  Branch (4706:17): [True: 0, False: 5.11M]
  ------------------
 4707|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4708|  5.11M|            }
 4709|  5.11M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1939|   227k|        {
 1940|   227k|            if (this == &other)
  ------------------
  |  Branch (1940:17): [True: 0, False: 227k]
  ------------------
 1941|      0|            {
 1942|      0|                return;
 1943|      0|            }
 1944|   227k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1944:17): [True: 227k, False: 0]
  |  Branch (1944:55): [True: 0, False: 227k]
  ------------------
 1945|      0|            {
 1946|      0|                basic_json temp;               
 1947|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1948|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1949|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1950|      0|            }
 1951|   227k|            else
 1952|   227k|            {
 1953|   227k|                switch (storage_kind())
 1954|   227k|                {
 1955|   196k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 196k, False: 31.4k]
  ------------------
 1956|  1.98k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 1.98k, False: 225k]
  ------------------
 1957|  6.47k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 6.47k, False: 220k]
  ------------------
 1958|  6.89k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 6.89k, False: 220k]
  ------------------
 1959|  2.75k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 2.75k, False: 224k]
  ------------------
 1960|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 227k]
  ------------------
 1961|  3.76k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 3.76k, False: 223k]
  ------------------
 1962|  9.53k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 9.53k, False: 217k]
  ------------------
 1963|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 227k]
  ------------------
 1964|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 227k]
  ------------------
 1965|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 227k]
  ------------------
 1966|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 227k]
  ------------------
 1967|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1967:21): [True: 0, False: 227k]
  ------------------
 1968|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1968:21): [True: 0, False: 227k]
  ------------------
 1969|      0|                    default:
  ------------------
  |  Branch (1969:21): [True: 0, False: 227k]
  ------------------
 1970|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1971|      0|                        break;
 1972|   227k|                }
 1973|   227k|            }
 1974|   227k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1175|   196k|        {
 1176|   196k|            switch (other.storage_kind())
 1177|   196k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 196k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 196k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 196k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 196k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 196k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 196k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 196k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 196k]
  ------------------
 1186|  45.1k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 45.1k, False: 150k]
  ------------------
 1187|  29.0k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 29.0k, False: 167k]
  ------------------
 1188|  73.8k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 73.8k, False: 122k]
  ------------------
 1189|  48.1k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 48.1k, False: 147k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 196k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 196k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 196k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|   196k|            }
 1196|   196k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
 1000|   196k|        {
 1001|   196k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   196k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
 1000|  1.98k|        {
 1001|  1.98k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1009|   143k|        {
 1010|   143k|            return cast(identity<T>());
 1011|   143k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1040|   143k|        {
 1041|   143k|            return boolean_;
 1042|   143k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
 1000|  6.47k|        {
 1001|  6.47k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  6.47k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1009|   144k|        {
 1010|   144k|            return cast(identity<T>());
 1011|   144k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1050|   144k|        {
 1051|   144k|            return int64_;
 1052|   144k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
 1000|  6.89k|        {
 1001|  6.89k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  6.89k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1009|  27.4k|        {
 1010|  27.4k|            return cast(identity<T>());
 1011|  27.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1060|  27.4k|        {
 1061|  27.4k|            return uint64_;
 1062|  27.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
 1000|  2.75k|        {
 1001|  2.75k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.75k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1009|  21.3k|        {
 1010|  21.3k|            return cast(identity<T>());
 1011|  21.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1080|  21.3k|        {
 1081|  21.3k|            return float64_;
 1082|  21.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
 1000|  3.76k|        {
 1001|  3.76k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  3.76k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1009|  37.9k|        {
 1010|  37.9k|            return cast(identity<T>());
 1011|  37.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1090|  37.9k|        {
 1091|  37.9k|            return short_str_;
 1092|  37.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  590|  9.53k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  591|  9.53k|            {
  592|  9.53k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  593|  9.53k|                data_[short_str_length_] = 0;
  594|  9.53k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
 1000|  9.53k|        {
 1001|  9.53k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  9.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1161|  45.1k|        {
 1162|  45.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  45.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  45.1k|        {
 1168|  45.1k|            TypeR temp{other.cast<TypeR>()};
 1169|  45.1k|            other.construct<TypeL>(cast<TypeL>());
 1170|  45.1k|            construct<TypeR>(temp);
 1171|  45.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  29.0k|        {
 1162|  29.0k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  29.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  29.0k|        {
 1168|  29.0k|            TypeR temp{other.cast<TypeR>()};
 1169|  29.0k|            other.construct<TypeL>(cast<TypeL>());
 1170|  29.0k|            construct<TypeR>(temp);
 1171|  29.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1161|  73.8k|        {
 1162|  73.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  73.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  73.8k|        {
 1168|  73.8k|            TypeR temp{other.cast<TypeR>()};
 1169|  73.8k|            other.construct<TypeL>(cast<TypeL>());
 1170|  73.8k|            construct<TypeR>(temp);
 1171|  73.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1161|  48.1k|        {
 1162|  48.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  48.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  48.1k|        {
 1168|  48.1k|            TypeR temp{other.cast<TypeR>()};
 1169|  48.1k|            other.construct<TypeL>(cast<TypeL>());
 1170|  48.1k|            construct<TypeR>(temp);
 1171|  48.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1175|  1.98k|        {
 1176|  1.98k|            switch (other.storage_kind())
 1177|  1.98k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.98k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.98k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.98k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.98k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.98k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 1.98k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 1.98k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.98k]
  ------------------
 1186|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.98k]
  ------------------
 1187|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.98k]
  ------------------
 1188|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 1.98k]
  ------------------
 1189|  1.98k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 1.98k, False: 0]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 1.98k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 1.98k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 1.98k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  1.98k|            }
 1196|  1.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1161|  1.98k|        {
 1162|  1.98k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.98k|        {
 1168|  1.98k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.98k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.98k|            construct<TypeR>(temp);
 1171|  1.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1175|  6.47k|        {
 1176|  6.47k|            switch (other.storage_kind())
 1177|  6.47k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 6.47k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 6.47k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.47k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 6.47k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 6.47k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 6.47k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 6.47k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 6.47k]
  ------------------
 1186|  1.14k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.14k, False: 5.32k]
  ------------------
 1187|  2.41k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 2.41k, False: 4.05k]
  ------------------
 1188|  1.53k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 1.53k, False: 4.93k]
  ------------------
 1189|  1.37k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 1.37k, False: 5.09k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 6.47k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 6.47k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 6.47k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  6.47k|            }
 1196|  6.47k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1161|  1.14k|        {
 1162|  1.14k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.14k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.14k|        {
 1168|  1.14k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.14k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.14k|            construct<TypeR>(temp);
 1171|  1.14k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  2.41k|        {
 1162|  2.41k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  2.41k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  2.41k|        {
 1168|  2.41k|            TypeR temp{other.cast<TypeR>()};
 1169|  2.41k|            other.construct<TypeL>(cast<TypeL>());
 1170|  2.41k|            construct<TypeR>(temp);
 1171|  2.41k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1161|  1.53k|        {
 1162|  1.53k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.53k|        {
 1168|  1.53k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.53k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.53k|            construct<TypeR>(temp);
 1171|  1.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1161|  1.37k|        {
 1162|  1.37k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.37k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.37k|        {
 1168|  1.37k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.37k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.37k|            construct<TypeR>(temp);
 1171|  1.37k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1175|  6.89k|        {
 1176|  6.89k|            switch (other.storage_kind())
 1177|  6.89k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 6.89k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 6.89k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.89k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 6.89k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 6.89k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 6.89k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 6.89k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 6.89k]
  ------------------
 1186|  1.62k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.62k, False: 5.27k]
  ------------------
 1187|    277|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 277, False: 6.62k]
  ------------------
 1188|  3.54k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 3.54k, False: 3.35k]
  ------------------
 1189|  1.45k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 1.45k, False: 5.44k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 6.89k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 6.89k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 6.89k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  6.89k|            }
 1196|  6.89k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1161|  1.62k|        {
 1162|  1.62k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.62k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.62k|        {
 1168|  1.62k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.62k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.62k|            construct<TypeR>(temp);
 1171|  1.62k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    277|        {
 1162|    277|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    277|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    277|        {
 1168|    277|            TypeR temp{other.cast<TypeR>()};
 1169|    277|            other.construct<TypeL>(cast<TypeL>());
 1170|    277|            construct<TypeR>(temp);
 1171|    277|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1161|  3.54k|        {
 1162|  3.54k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  3.54k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  3.54k|        {
 1168|  3.54k|            TypeR temp{other.cast<TypeR>()};
 1169|  3.54k|            other.construct<TypeL>(cast<TypeL>());
 1170|  3.54k|            construct<TypeR>(temp);
 1171|  3.54k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1161|  1.45k|        {
 1162|  1.45k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.45k|        {
 1168|  1.45k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.45k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.45k|            construct<TypeR>(temp);
 1171|  1.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1175|  2.75k|        {
 1176|  2.75k|            switch (other.storage_kind())
 1177|  2.75k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.75k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.75k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.75k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.75k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.75k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.75k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 2.75k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.75k]
  ------------------
 1186|  1.39k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.39k, False: 1.36k]
  ------------------
 1187|    225|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 225, False: 2.53k]
  ------------------
 1188|    823|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 823, False: 1.93k]
  ------------------
 1189|    318|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 318, False: 2.43k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 2.75k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 2.75k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 2.75k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  2.75k|            }
 1196|  2.75k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1161|  1.39k|        {
 1162|  1.39k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.39k|        {
 1168|  1.39k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.39k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.39k|            construct<TypeR>(temp);
 1171|  1.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    225|        {
 1162|    225|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    225|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    225|        {
 1168|    225|            TypeR temp{other.cast<TypeR>()};
 1169|    225|            other.construct<TypeL>(cast<TypeL>());
 1170|    225|            construct<TypeR>(temp);
 1171|    225|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1161|    823|        {
 1162|    823|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    823|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    823|        {
 1168|    823|            TypeR temp{other.cast<TypeR>()};
 1169|    823|            other.construct<TypeL>(cast<TypeL>());
 1170|    823|            construct<TypeR>(temp);
 1171|    823|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1161|    318|        {
 1162|    318|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    318|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    318|        {
 1168|    318|            TypeR temp{other.cast<TypeR>()};
 1169|    318|            other.construct<TypeL>(cast<TypeL>());
 1170|    318|            construct<TypeR>(temp);
 1171|    318|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1175|  3.76k|        {
 1176|  3.76k|            switch (other.storage_kind())
 1177|  3.76k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 3.76k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 3.76k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 3.76k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 3.76k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 3.76k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 3.76k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 3.76k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 3.76k]
  ------------------
 1186|    504|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 504, False: 3.26k]
  ------------------
 1187|  1.41k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 1.41k, False: 2.35k]
  ------------------
 1188|  1.00k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 1.00k, False: 2.75k]
  ------------------
 1189|    839|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 839, False: 2.92k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 3.76k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 3.76k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 3.76k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  3.76k|            }
 1196|  3.76k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1161|    504|        {
 1162|    504|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    504|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    504|        {
 1168|    504|            TypeR temp{other.cast<TypeR>()};
 1169|    504|            other.construct<TypeL>(cast<TypeL>());
 1170|    504|            construct<TypeR>(temp);
 1171|    504|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  1.41k|        {
 1162|  1.41k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.41k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.41k|        {
 1168|  1.41k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.41k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.41k|            construct<TypeR>(temp);
 1171|  1.41k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1161|  1.00k|        {
 1162|  1.00k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.00k|        {
 1168|  1.00k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.00k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.00k|            construct<TypeR>(temp);
 1171|  1.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1161|    839|        {
 1162|    839|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    839|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    839|        {
 1168|    839|            TypeR temp{other.cast<TypeR>()};
 1169|    839|            other.construct<TypeL>(cast<TypeL>());
 1170|    839|            construct<TypeR>(temp);
 1171|    839|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1175|  9.53k|        {
 1176|  9.53k|            switch (other.storage_kind())
 1177|  9.53k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 9.53k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 9.53k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 9.53k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 9.53k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 9.53k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 9.53k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 9.53k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 9.53k]
  ------------------
 1186|  7.42k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 7.42k, False: 2.10k]
  ------------------
 1187|    319|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 319, False: 9.21k]
  ------------------
 1188|  1.00k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 1.00k, False: 8.52k]
  ------------------
 1189|    786|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 786, False: 8.74k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 9.53k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 9.53k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 9.53k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  9.53k|            }
 1196|  9.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1161|  7.42k|        {
 1162|  7.42k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  7.42k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  7.42k|        {
 1168|  7.42k|            TypeR temp{other.cast<TypeR>()};
 1169|  7.42k|            other.construct<TypeL>(cast<TypeL>());
 1170|  7.42k|            construct<TypeR>(temp);
 1171|  7.42k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    319|        {
 1162|    319|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    319|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    319|        {
 1168|    319|            TypeR temp{other.cast<TypeR>()};
 1169|    319|            other.construct<TypeL>(cast<TypeL>());
 1170|    319|            construct<TypeR>(temp);
 1171|    319|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1161|  1.00k|        {
 1162|  1.00k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.00k|        {
 1168|  1.00k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.00k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.00k|            construct<TypeR>(temp);
 1171|  1.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1161|    786|        {
 1162|    786|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    786|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    786|        {
 1168|    786|            TypeR temp{other.cast<TypeR>()};
 1169|    786|            other.construct<TypeL>(cast<TypeL>());
 1170|    786|            construct<TypeR>(temp);
 1171|    786|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2631|  21.9k|        {
 2632|  21.9k|            construct<uint64_storage>(val, tag);
 2633|  21.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
 1000|  21.9k|        {
 1001|  21.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  21.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  521|  21.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  522|  21.9k|                  val_(val)
  523|  21.9k|            {
  524|  21.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2662|   130k|        {
 2663|   130k|            construct<int64_storage>(val, tag);
 2664|   130k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
 1000|   130k|        {
 1001|   130k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   130k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  501|   130k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  502|   130k|                  val_(val)
  503|   130k|            {
  504|   130k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2619|  13.8k|        {
 2620|  13.8k|            construct<double_storage>(val, tag);
 2621|  13.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
 1000|  13.8k|        {
 1001|  13.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  13.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  560|  13.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  561|  13.8k|                  val_(val)
  562|  13.8k|            {
  563|  13.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2406|  39.8k|        {
 2407|  39.8k|            auto ptr = create_array(Allocator());
 2408|  39.8k|            construct<array_storage>(ptr, tag);
 2409|  39.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  962|  39.8k|        {
  963|  39.8k|            using stor_allocator_type = typename array_storage::allocator_type;
  964|  39.8k|            stor_allocator_type stor_alloc(alloc);
  965|  39.8k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  966|  39.8k|            JSONCONS_TRY
  ------------------
  |  |   37|  39.8k|    #define JSONCONS_TRY try
  ------------------
  967|  39.8k|            {
  968|  39.8k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  969|  39.8k|                    std::forward<Args>(args)...);
  970|  39.8k|            }
  971|  39.8k|            JSONCONS_CATCH(...)
  972|  39.8k|            {
  973|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  974|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  975|      0|            }
  976|  39.8k|            return ptr;
  977|  39.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  39.8k|        {
 1001|  39.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  39.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  727|  39.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  728|  39.8k|            {
  729|  39.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2708|  20.7M|        {
 2709|  20.7M|            construct<null_storage>(tag);
 2710|  20.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
 1000|  20.7M|        {
 1001|  20.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  20.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2718|   130k|        {
 2719|   130k|            construct<bool_storage>(val,tag);
 2720|   130k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
 1000|   130k|        {
 1001|   130k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   130k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  480|   130k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  481|   130k|                  val_(val)
  482|   130k|            {
  483|   130k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2566|  32.8k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2567|  32.8k|        {
 2568|  32.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2596|  32.8k|        {
 2597|  32.8k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2597:17): [True: 18.8k, False: 14.0k]
  ------------------
 2598|  18.8k|            {
 2599|  18.8k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2600|  18.8k|            }
 2601|  14.0k|            else
 2602|  14.0k|            {
 2603|  14.0k|                auto ptr = create_long_string(alloc, s, length);
 2604|  14.0k|                construct<long_string_storage>(ptr, tag);
 2605|  14.0k|            }
 2606|  32.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
 1000|  18.8k|        {
 1001|  18.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  18.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  582|  18.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  583|  18.8k|            {
  584|  18.8k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   45|  18.8k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 18.8k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  585|  18.8k|                std::memcpy(data_,p,length*sizeof(char_type));
  586|  18.8k|                data_[length] = 0;
  587|  18.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  948|  14.0k|        {
  949|  14.0k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  950|  14.0k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  951|  14.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|  14.0k|        {
 1001|  14.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  14.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  626|  14.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  627|  14.0k|            {
  628|  14.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  955|  16.4k|        {
  956|  16.4k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  957|  16.4k|            return heap_string_factory_type::create(data, length, ext_tag, alloc); 
  958|  16.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  675|  16.4k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  676|  16.4k|            {
  677|  16.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2759|  16.4k|        {
 2760|  16.4k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2761|       |
 2762|  16.4k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), ext_tag);
 2763|  16.4k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2764|  16.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
 1000|  16.4k|        {
 1001|  16.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  16.4k|        }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  239|  14.0k|    {
  240|  14.0k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  14.0k|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  14.0k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  239|  16.4k|    {
  240|  16.4k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  16.4k|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  16.4k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  14.0k|    {
  240|  14.0k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  14.0k|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  14.0k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  16.4k|    {
  240|  16.4k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  16.4k|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  16.4k|    }

_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|  4.37k|        : has_value_(false)
   67|  4.37k|    {
   68|  4.37k|        ::new (&error_) E(std::forward<Args>(args)...);
   69|  4.37k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2EOS7_:
   52|     18|        : has_value_(true)
   53|     18|    {
   54|     18|        construct(std::move(value));
   55|     18|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE9constructEOS7_:
  274|     18|    {
  275|     18|        ::new (&value_) T(std::move(value));
  276|     18|        has_value_ = true;
  277|     18|    }
_ZNK8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEcvbEv:
  146|  4.39k|    {
  147|  4.39k|        return has_value_;
  148|  4.39k|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE5errorEv:
  192|  13.1k|    {
  193|  13.1k|        assert(!has_value_);
  ------------------
  |  Branch (193:9): [True: 13.1k, False: 0]
  ------------------
  194|  13.1k|        return this->error_;
  195|  13.1k|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEdeEv:
  231|     18|    {
  232|     18|        return this->value_;
  233|     18|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEED2Ev:
  100|  4.39k|    {
  101|  4.39k|        destroy();
  102|  4.39k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  280|  4.39k|    {
  281|  4.39k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 18, False: 4.37k]
  ------------------
  282|     18|        {
  283|     18|            value_.~T();
  284|     18|            has_value_ = false;
  285|     18|        }
  286|  4.37k|        else
  287|  4.37k|        {
  288|  4.37k|            error_.~E();
  289|  4.37k|        }
  290|  4.39k|    }

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  16.4k|            : data_(data), size_(size)
   62|  16.4k|        {
   63|  16.4k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  16.4k|        {
  112|  16.4k|            return data_;
  113|  16.4k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  16.4k|        {
  117|  16.4k|            return size_;
  118|  16.4k|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  107|  50.0k|        {
  108|  50.0k|            flatten_and_destroy();
  109|  50.0k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  246|  50.0k|        {
  247|  5.16M|            while (!elements_.empty())
  ------------------
  |  Branch (247:20): [True: 5.11M, False: 50.0k]
  ------------------
  248|  5.11M|            {
  249|  5.11M|                value_type current = std::move(elements_.back());
  250|  5.11M|                elements_.pop_back();
  251|  5.11M|                switch (current.storage_kind())
  252|  5.11M|                {
  253|  3.54k|                    case json_storage_kind::array:
  ------------------
  |  Branch (253:21): [True: 3.54k, False: 5.10M]
  ------------------
  254|  3.54k|                    {
  255|  3.54k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (255:42): [True: 4.58k, False: 3.54k]
  ------------------
  256|  4.58k|                        {
  257|  4.58k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (257:34): [True: 823, False: 3.76k]
  |  Branch (257:85): [True: 608, False: 3.15k]
  ------------------
  258|  1.43k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (258:36): [True: 959, False: 472]
  ------------------
  259|    959|                            {
  260|    959|                                elements_.push_back(std::move(item));
  261|    959|                            }
  262|  4.58k|                        }
  263|  3.54k|                        current.clear();                           
  264|  3.54k|                        break;
  265|      0|                    }
  266|  3.31k|                    case json_storage_kind::object:
  ------------------
  |  Branch (266:21): [True: 3.31k, False: 5.10M]
  ------------------
  267|  3.31k|                    {
  268|  3.31k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (268:40): [True: 4.41k, False: 3.31k]
  ------------------
  269|  4.41k|                        {
  270|  4.41k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (270:34): [True: 332, False: 4.08k]
  |  Branch (270:91): [True: 960, False: 3.12k]
  ------------------
  271|  1.29k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (271:36): [True: 993, False: 299]
  ------------------
  272|    993|                            {
  273|    993|                                elements_.push_back(std::move(kv.value()));
  274|    993|                            }
  275|  4.41k|                        }
  276|  3.31k|                        current.clear();                           
  277|  3.31k|                        break;
  278|      0|                    }
  279|  5.10M|                    default:
  ------------------
  |  Branch (279:21): [True: 5.10M, False: 6.86k]
  ------------------
  280|  5.10M|                        break;
  281|  5.11M|                }
  282|  5.11M|            }
  283|  50.0k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  220|  3.54k|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  222|  3.54k|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  127|  5.65k|        {
  128|  5.65k|            return elements_.empty();
  129|  5.65k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  140|  3.54k|        void clear() {elements_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   51|  10.2k|            : allocator_holder<allocator_type>(alloc), 
   52|  10.2k|              elements_(value_allocator_type(alloc))
   53|  10.2k|        {
   54|  10.2k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  215|  3.39k|        {
  216|  3.39k|            elements_.emplace_back(std::forward<Args>(args)...);
  217|  3.39k|            return elements_.back();
  218|  3.39k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  151|  6.16k|        void reserve(std::size_t n) {elements_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  176|  5.11M|        {
  177|  5.11M|            elements_.emplace_back(std::forward<T>(value));
  178|  5.11M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   47|  39.8k|        {
   48|  39.8k|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  4.39k|        : allocator_(alloc),
   75|  4.39k|          result_(),
   76|  4.39k|          name_(alloc),
   77|  4.39k|          item_stack_(alloc),
   78|  4.39k|          structure_stack_(temp_alloc)
   79|  4.39k|    {
   80|  4.39k|        item_stack_.reserve(1000);
   81|  4.39k|        structure_stack_.reserve(100);
   82|  4.39k|        structure_stack_.emplace_back(structure_type::root_t, 0);
   83|  4.39k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   51|  80.8k|            : type_(type), container_index_(offset)
   52|  80.8k|        {
   53|  80.8k|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  179|  17.5k|    {
  180|  17.5k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   45|  17.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  181|  17.5k|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |   45|  17.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  182|  17.5k|        const size_t container_index = structure_stack_.back().container_index_;
  183|  17.5k|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |   45|  17.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  184|       |
  185|  17.5k|        auto& container = item_stack_[container_index].value;
  186|       |
  187|  17.5k|        const size_t size = item_stack_.size() - (container_index + 1);
  188|       |        //std::cout << "size on item stack: " << size << "\n";
  189|       |
  190|  17.5k|        if (size > 0)
  ------------------
  |  Branch (190:13): [True: 6.16k, False: 11.3k]
  ------------------
  191|  6.16k|        {
  192|  6.16k|            container.reserve(size);
  193|  6.16k|            auto first = item_stack_.begin() + (container_index+1);
  194|  6.16k|            auto last = first + size;
  195|  5.11M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (195:35): [True: 5.11M, False: 6.16k]
  ------------------
  196|  5.11M|            {
  197|  5.11M|                container.push_back(std::move((*it).value));
  198|  5.11M|            }
  199|  6.16k|            item_stack_.erase(first, item_stack_.end());
  200|  6.16k|        }
  201|       |
  202|  17.5k|        structure_stack_.pop_back();
  203|  17.5k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (203:13): [True: 0, False: 17.5k]
  ------------------
  204|      0|        {
  205|      0|            result_.swap(item_stack_.front().value);
  206|      0|            item_stack_.pop_back();
  207|      0|            is_valid_ = true;
  208|      0|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  209|      0|        }
  210|  17.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  17.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  211|  17.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  296|  21.9k|    {
  297|  21.9k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (297:17): [True: 21.9k, False: 0]
  ------------------
  298|  21.9k|        {
  299|  19.8k|            case structure_type::object_t:
  ------------------
  |  Branch (299:13): [True: 19.8k, False: 2.10k]
  ------------------
  300|  21.9k|            case structure_type::array_t:
  ------------------
  |  Branch (300:13): [True: 2.10k, False: 19.8k]
  ------------------
  301|  21.9k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  302|  21.9k|                break;
  303|      0|            case structure_type::root_t:
  ------------------
  |  Branch (303:13): [True: 0, False: 21.9k]
  ------------------
  304|      0|                result_ = Json(value,tag);
  305|      0|                is_valid_ = true;
  306|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  307|  21.9k|        }
  308|  21.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  21.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  309|  21.9k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  277|   130k|    {
  278|   130k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (278:17): [True: 130k, False: 0]
  ------------------
  279|   130k|        {
  280|   123k|            case structure_type::object_t:
  ------------------
  |  Branch (280:13): [True: 123k, False: 7.09k]
  ------------------
  281|   130k|            case structure_type::array_t:
  ------------------
  |  Branch (281:13): [True: 7.09k, False: 123k]
  ------------------
  282|   130k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  283|   130k|                break;
  284|      0|            case structure_type::root_t:
  ------------------
  |  Branch (284:13): [True: 0, False: 130k]
  ------------------
  285|      0|                result_ = Json(value,tag);
  286|      0|                is_valid_ = true;
  287|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  288|   130k|        }
  289|   130k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   130k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|   130k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  334|  13.8k|    {
  335|  13.8k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (335:17): [True: 13.8k, False: 0]
  ------------------
  336|  13.8k|        {
  337|  12.7k|            case structure_type::object_t:
  ------------------
  |  Branch (337:13): [True: 12.7k, False: 1.12k]
  ------------------
  338|  13.8k|            case structure_type::array_t:
  ------------------
  |  Branch (338:13): [True: 1.12k, False: 12.7k]
  ------------------
  339|  13.8k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  340|  13.8k|                break;
  341|      0|            case structure_type::root_t:
  ------------------
  |  Branch (341:13): [True: 0, False: 13.8k]
  ------------------
  342|      0|                result_ = Json(value, tag);
  343|      0|                is_valid_ = true;
  344|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  13.8k|        }
  346|  13.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  13.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|  13.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|     18|    {
  123|     18|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  36.6k|    {
  127|  36.6k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (127:13): [True: 4.39k, False: 32.2k]
  ------------------
  128|  4.39k|        {
  129|  4.39k|            index_ = 0;
  130|  4.39k|            item_stack_.clear();
  131|  4.39k|            is_valid_ = false;
  132|  4.39k|        }
  133|  36.6k|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  134|  36.6k|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  135|  36.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  136|  36.6k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  139|  24.3k|    {
  140|  24.3k|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   45|  24.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  141|  24.3k|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |   45|  24.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  142|  24.3k|        const size_t structure_index = structure_stack_.back().container_index_;
  143|  24.3k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   45|  24.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  24.3k|        const size_t count = item_stack_.size() - (structure_index + 1);
  145|  24.3k|        auto first = item_stack_.begin() + (structure_index+1);
  146|       |
  147|  24.3k|        if (count > 0)
  ------------------
  |  Branch (147:13): [True: 13.1k, False: 11.2k]
  ------------------
  148|  13.1k|        {
  149|  13.1k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  150|  13.1k|                &item_stack_[structure_index+1], count);
  151|  13.1k|        }
  152|       |
  153|  24.3k|        item_stack_.erase(first, item_stack_.end());
  154|  24.3k|        structure_stack_.pop_back();
  155|  24.3k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (155:13): [True: 1.98k, False: 22.3k]
  ------------------
  156|  1.98k|        {
  157|  1.98k|            result_.swap(item_stack_.front().value);
  158|  1.98k|            item_stack_.pop_back();
  159|  1.98k|            is_valid_ = true;
  160|  1.98k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.98k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  161|  1.98k|        }
  162|  22.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  22.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  163|  24.3k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  166|  39.8k|    {
  167|  39.8k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (167:13): [True: 0, False: 39.8k]
  ------------------
  168|      0|        {
  169|      0|            index_ = 0;
  170|      0|            item_stack_.clear();
  171|      0|            is_valid_ = false;
  172|      0|        }
  173|  39.8k|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  174|  39.8k|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  175|  39.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  39.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  176|  39.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  214|  9.55M|    {
  215|  9.55M|        name_ = key_type(name.data(),name.length(),allocator_);
  216|  9.55M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  9.55M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|  20.7M|    {
  367|  20.7M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 20.7M, False: 0]
  ------------------
  368|  20.7M|        {
  369|  9.19M|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 9.19M, False: 11.5M]
  ------------------
  370|  20.7M|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 11.5M, False: 9.19M]
  ------------------
  371|  20.7M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  372|  20.7M|                break;
  373|      0|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 0, False: 20.7M]
  ------------------
  374|      0|                result_ = Json(null_type(), tag);
  375|      0|                is_valid_ = true;
  376|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  20.7M|        }
  378|  20.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  20.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  379|  20.7M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|   130k|    {
  351|   130k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 130k, False: 0]
  ------------------
  352|   130k|        {
  353|   110k|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 110k, False: 20.4k]
  ------------------
  354|   130k|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 20.4k, False: 110k]
  ------------------
  355|   130k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|   130k|                break;
  357|      0|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 0, False: 130k]
  ------------------
  358|      0|                result_ = Json(value, tag);
  359|      0|                is_valid_ = true;
  360|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  361|   130k|        }
  362|   130k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   130k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  363|   130k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  220|  32.8k|    {
  221|  32.8k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (221:17): [True: 32.8k, False: 0]
  ------------------
  222|  32.8k|        {
  223|  29.8k|            case structure_type::object_t:
  ------------------
  |  Branch (223:13): [True: 29.8k, False: 3.01k]
  ------------------
  224|  32.8k|            case structure_type::array_t:
  ------------------
  |  Branch (224:13): [True: 3.01k, False: 29.8k]
  ------------------
  225|  32.8k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  226|  32.8k|                break;
  227|      0|            case structure_type::root_t:
  ------------------
  |  Branch (227:13): [True: 0, False: 32.8k]
  ------------------
  228|      0|                result_ = Json(sv, tag, allocator_);
  229|      0|                is_valid_ = true;
  230|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  231|  32.8k|        }
  232|  32.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  32.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  233|  32.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  258|  16.4k|    {
  259|  16.4k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (259:17): [True: 16.4k, False: 0]
  ------------------
  260|  16.4k|        {
  261|  14.0k|            case structure_type::object_t:
  ------------------
  |  Branch (261:13): [True: 14.0k, False: 2.37k]
  ------------------
  262|  16.4k|            case structure_type::array_t:
  ------------------
  |  Branch (262:13): [True: 2.37k, False: 14.0k]
  ------------------
  263|  16.4k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, ext_tag);
  264|  16.4k|                break;
  265|      0|            case structure_type::root_t:
  ------------------
  |  Branch (265:13): [True: 0, False: 16.4k]
  ------------------
  266|      0|                result_ = Json(byte_string_arg, b, ext_tag, allocator_);
  267|      0|                is_valid_ = true;
  268|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  269|  16.4k|        }
  270|  16.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  16.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  271|  16.4k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|     18|    {
  109|     18|        return is_valid_;
  110|     18|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|     18|    {
  114|     18|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   45|     18|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 18]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|     18|        is_valid_ = false;
  116|     18|        return std::move(result_);
  117|     18|    }

_ZN8jsoncons14json_exceptionD2Ev:
   27|  4.37k|        virtual ~json_exception() = default;
_ZN8jsoncons9ser_errorC1ENSt3__110error_codeEmm:
  194|  4.37k|            : ec_(ec), line_(line), column_(column)
  195|  4.37k|        {
  196|  4.37k|            err_ = to_what_arg(ec, "", line, column); 
  197|  4.37k|        }
_ZN8jsoncons9ser_error11to_what_argENSt3__110error_codeEPKcmm:
  233|  4.37k|        {
  234|  4.37k|            std::string what_arg(s);
  235|  4.37k|            if (!what_arg.empty())
  ------------------
  |  Branch (235:17): [True: 0, False: 4.37k]
  ------------------
  236|      0|            {
  237|      0|                what_arg.append(": ");
  238|      0|            }
  239|  4.37k|            what_arg.append(ec.message());
  240|  4.37k|            if (line != 0 && column != 0)
  ------------------
  |  Branch (240:17): [True: 0, False: 4.37k]
  |  Branch (240:30): [True: 0, False: 0]
  ------------------
  241|      0|            {
  242|      0|                what_arg.append(" at line ");
  243|      0|                what_arg.append(std::to_string(line));
  244|      0|                what_arg.append(" and column ");
  245|      0|                what_arg.append(std::to_string(column));
  246|      0|            }
  247|  4.37k|            else if (column != 0)
  ------------------
  |  Branch (247:22): [True: 4.37k, False: 0]
  ------------------
  248|  4.37k|            {
  249|  4.37k|                what_arg.append(" at position ");
  250|  4.37k|                what_arg.append(std::to_string(column));
  251|  4.37k|            }
  252|  4.37k|            return what_arg; 
  253|  4.37k|        }

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  4.39k|{
 1065|  4.39k|    return json_visitor_adaptor<From, To>(to);
 1066|  4.39k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  4.39k|        : supertype(visitor)
  984|  4.39k|    {
  985|  4.39k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  4.39k|        : destination1_(std::addressof(visitor))
  722|  4.39k|    {
  723|  4.39k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  17.5k|    {
  784|  17.5k|        destination1_->end_array(context, ec);
  785|  17.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  17.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  17.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  21.9k|    {
  826|  21.9k|        destination1_->uint64_value(value, tag, context, ec);
  827|  21.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  21.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  21.9k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|   130k|    {
  820|   130k|        destination1_->int64_value(value, tag, context, ec);
  821|   130k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   130k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|   130k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  13.8k|    {
  814|  13.8k|        destination1_->double_value(value, tag, context, ec);
  815|  13.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  13.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  13.8k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|     18|    {
  739|     18|        destination1_->flush();
  740|     18|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  36.6k|    {
  746|  36.6k|        destination1_->begin_object(tag, context, ec);
  747|  36.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  36.6k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  24.3k|    {
  761|  24.3k|        destination1_->end_object(context, ec);
  762|  24.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  24.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  24.3k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  39.8k|    {
  769|  39.8k|        destination1_->begin_array(tag, context, ec);
  770|  39.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  39.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  39.8k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  9.55M|    {
  996|  9.55M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  9.55M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  9.58M|    {
  733|  9.58M|        return *destination1_;
  734|  9.58M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  20.7M|    {
  838|  20.7M|        destination1_->null_value(tag, context, ec);
  839|  20.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  20.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  20.7M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|   130k|    {
  832|   130k|        destination1_->bool_value(value, tag, context, ec);
  833|   130k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   130k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|   130k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
 1003|  32.8k|    {
 1004|  32.8k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  32.8k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS6_10error_codeE:
  801|  16.4k|    {
  802|  16.4k|        destination1_->byte_string_value(b, ext_tag, context, ec);
  803|  16.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  16.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  16.4k|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  432|  3.52k|        {
  433|  3.52k|            return members_.empty();
  434|  3.52k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  465|  3.31k|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  442|  3.31k|        {
  443|  3.31k|            return members_.begin();
  444|  3.31k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  447|  3.31k|        {
  448|  3.31k|            return members_.end();
  449|  3.31k|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  61.6k|        {
  121|  61.6k|            return value_;
  122|  61.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  427|  36.6k|        {
  428|  36.6k|            flatten_and_destroy();
  429|  36.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  986|  36.6k|        {
  987|  36.6k|            if (!members_.empty())
  ------------------
  |  Branch (987:17): [True: 10.2k, False: 26.4k]
  ------------------
  988|  10.2k|            {
  989|  10.2k|                json_array<Json> temp(get_allocator());
  990|       |
  991|  10.2k|                for (auto& kv : members_)
  ------------------
  |  Branch (991:31): [True: 40.9k, False: 10.2k]
  ------------------
  992|  40.9k|                {
  993|  40.9k|                    switch (kv.value().storage_kind())
  994|  40.9k|                    {
  995|  4.49k|                        case json_storage_kind::array:
  ------------------
  |  Branch (995:25): [True: 4.49k, False: 36.4k]
  ------------------
  996|  6.45k|                        case json_storage_kind::object:
  ------------------
  |  Branch (996:25): [True: 1.95k, False: 39.0k]
  ------------------
  997|  6.45k|                            if (!kv.value().empty())
  ------------------
  |  Branch (997:33): [True: 3.39k, False: 3.05k]
  ------------------
  998|  3.39k|                            {
  999|  3.39k|                                temp.emplace_back(std::move(kv.value()));
 1000|  3.39k|                            }
 1001|  6.45k|                            break;
 1002|  34.5k|                        default:
  ------------------
  |  Branch (1002:25): [True: 34.5k, False: 6.45k]
  ------------------
 1003|  34.5k|                            break;
 1004|  40.9k|                    }
 1005|  40.9k|                }
 1006|  10.2k|            }
 1007|  36.6k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  53.6M|        index_key_value(index_key_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
  334|  36.6k|        {
  335|  36.6k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  44.0M|        index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  21.9k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  21.9k|        {
   45|  21.9k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   130k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   130k|        {
   45|   130k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  13.8k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  13.8k|        {
   45|  13.8k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  36.6k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  36.6k|        {
   45|  36.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  539|  13.1k|        {
  540|  13.1k|            if (count > 0)
  ------------------
  |  Branch (540:17): [True: 13.1k, False: 0]
  ------------------
  541|  13.1k|            {
  542|  13.1k|                members_.reserve(count);
  543|       |
  544|  13.1k|                std::sort(items, items+count, compare);
  545|  13.1k|                members_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  546|       |                
  547|  8.36M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (547:41): [True: 8.35M, False: 13.1k]
  ------------------
  548|  8.35M|                {
  549|  8.35M|                    auto& item = items[i];
  550|  8.35M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (550:25): [True: 32.2k, False: 8.31M]
  ------------------
  551|  32.2k|                    {
  552|  32.2k|                        members_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  553|  32.2k|                    }
  554|  8.35M|                }
  555|  13.1k|            }
  556|  13.1k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  530|   195M|        {
  531|   195M|            int comp = item1.name.compare(item2.name); 
  532|   195M|            if (comp < 0) return true;
  ------------------
  |  Branch (532:17): [True: 1.49M, False: 194M]
  ------------------
  533|   194M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (533:17): [True: 193M, False: 598k]
  ------------------
  534|       |
  535|   598k|            return false;
  536|   194M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  45.4k|            : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  45.4k|        {
   88|  45.4k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  39.8k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  39.8k|        {
   45|  39.8k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  20.7M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  20.7M|        {
   45|  20.7M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   130k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   130k|        {
   45|   130k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  32.8k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  32.8k|        {
   45|  32.8k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  16.4k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  16.4k|        {
   45|  16.4k|        }

_ZN8jsoncons18is_trivial_storageENS_17json_storage_kindE:
  227|   155M|    {
  228|   155M|        static const uint8_t mask{ uint8_t(json_storage_kind::long_str) & uint8_t(json_storage_kind::byte_str) 
  229|   155M|            & uint8_t(json_storage_kind::array) & uint8_t(json_storage_kind::object) };
  230|   155M|        return (uint8_t(storage_kind) & mask) != mask;
  231|   155M|    }

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  8.79k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  8.79k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  43.8k|        {
  415|  43.8k|            visit_uint64(value, tag, context, ec);
  416|  43.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  43.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  43.8k|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  35.1k|        {
  352|  35.1k|            visit_end_array(context, ec);
  353|  35.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  35.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  35.1k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|   260k|        {
  424|   260k|            visit_int64(value, tag, context, ec);
  425|   260k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   260k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|   260k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  27.7k|        {
  442|  27.7k|            visit_double(value, tag, context, ec);
  443|  27.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  27.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  27.7k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|     36|        {
  109|     36|            visit_flush();
  110|     36|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  73.2k|        {
  319|  73.2k|            visit_begin_object(tag, context, ec);
  320|  73.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  73.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  73.2k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  48.7k|        {
  334|  48.7k|            visit_end_object(context, ec);
  335|  48.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  48.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  48.7k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  79.6k|        {
  340|  79.6k|            visit_begin_array(tag, context, ec);
  341|  79.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  79.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  79.6k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  19.1M|        {
  358|  19.1M|            visit_key(name, context, ec);
  359|  19.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  19.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  19.1M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  41.5M|        {
  366|  41.5M|            visit_null(tag, context, ec);
  367|  41.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  41.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  41.5M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|   261k|        {
  375|   261k|            visit_bool(value, tag, context, ec);
  376|   261k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   261k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|   261k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  65.7k|        {
  384|  65.7k|            visit_string(value, tag, context, ec);
  385|  65.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  65.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  65.7k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  16.4k|        {
  406|  16.4k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  407|  16.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  16.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  16.4k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINSt3__16vectorIhNS3_9allocatorIhEEEEEEbRKT_mRKNS_11ser_contextERNS3_10error_codeENS3_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS8_EE5valueEiE4typeE:
  405|  16.4k|        {
  406|  16.4k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  407|  16.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  16.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  16.4k|        }

_ZN8jsoncons11ser_contextD2Ev:
   21|  4.39k|    virtual ~ser_context() = default;
_ZN8jsoncons10read_errorC2ENSt3__110error_codeEmm:
   63|  4.37k|        : ec_{ec}, line_{line}, column_{column}
   64|  4.37k|    {
   65|  4.37k|    }
_ZNK8jsoncons10read_error4codeEv:
   81|  4.37k|    {
   82|  4.37k|        return ec_;
   83|  4.37k|    }
_ZNK8jsoncons10read_error4lineEv:
   89|  4.37k|    {
   90|  4.37k|        return line_;
   91|  4.37k|    }
_ZNK8jsoncons10read_error6columnEv:
   93|  4.37k|    {
   94|  4.37k|        return column_;
   95|  4.37k|    }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  171|  4.39k|            : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  172|  4.39k|              buffer_size_(default_max_buffer_size)
  173|  4.39k|        {
  174|  4.39k|            buffer_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, buffer_size_);
  175|  4.39k|            data_ = buffer_;
  176|  4.39k|        }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   54|  4.39k|          : std::basic_istream<CharT>(&nb_)
   55|  4.39k|        {
   56|  4.39k|        }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   40|  4.39k|            null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  188|  4.39k|        {
  189|  4.39k|            if (buffer_)
  ------------------
  |  Branch (189:17): [True: 4.39k, False: 0]
  ------------------
  190|  4.39k|            {
  191|  4.39k|                std::allocator_traits<char_allocator_type>::deallocate(alloc_, buffer_, buffer_size_);
  192|  4.39k|            }
  193|  4.39k|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.37k|        {
  282|  4.37k|            return position_;
  283|  4.37k|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  4.39k|        {
  277|  4.39k|            return stream_ptr_->bad();  
  278|  4.39k|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  343|  80.6M|        {
  344|  80.6M|            std::size_t len = 0;
  345|  80.6M|            if (length_ > 0)
  ------------------
  |  Branch (345:17): [True: 80.6M, False: 10.4k]
  ------------------
  346|  80.6M|            {
  347|  80.6M|                len = (std::min)(length_, length);
  348|  80.6M|                std::memcpy(p, data_, len*sizeof(value_type));
  349|  80.6M|                data_ += len;
  350|  80.6M|                length_ -= len;
  351|  80.6M|                position_ += len;
  352|  80.6M|            }
  353|  80.6M|            if (length - len == 0)
  ------------------
  |  Branch (353:17): [True: 80.6M, False: 11.1k]
  ------------------
  354|  80.6M|            {
  355|  80.6M|                return len;
  356|  80.6M|            }
  357|  11.1k|            else if (length - len < buffer_size_)
  ------------------
  |  Branch (357:22): [True: 10.9k, False: 208]
  ------------------
  358|  10.9k|            {
  359|  10.9k|                fill_buffer();
  360|  10.9k|                if (length_ > 0)
  ------------------
  |  Branch (360:21): [True: 9.46k, False: 1.44k]
  ------------------
  361|  9.46k|                {
  362|  9.46k|                    std::size_t len2 = (std::min)(length_, length-len);
  363|  9.46k|                    std::memcpy(p+len, data_, len2*sizeof(value_type));
  364|  9.46k|                    data_ += len2;
  365|  9.46k|                    length_ -= len2;
  366|  9.46k|                    position_ += len2;
  367|  9.46k|                    len += len2;
  368|  9.46k|                }
  369|  10.9k|                return len;
  370|  10.9k|            }
  371|    208|            else
  372|    208|            {
  373|    208|                if (stream_ptr_->eof())
  ------------------
  |  Branch (373:21): [True: 0, False: 208]
  ------------------
  374|      0|                {
  375|      0|                    length_ = 0;
  376|      0|                    return 0;
  377|      0|                }
  378|    208|                JSONCONS_TRY
  ------------------
  |  |   37|    208|    #define JSONCONS_TRY try
  ------------------
  379|    208|                {
  380|    208|                    std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  381|    208|                    std::size_t len2 = static_cast<std::size_t>(count);
  382|    208|                    if (len2 < length-len)
  ------------------
  |  Branch (382:25): [True: 26, False: 182]
  ------------------
  383|     26|                    {
  384|     26|                        stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  385|     26|                    }
  386|    208|                    len += len2;
  387|    208|                    position_ += len2;
  388|    208|                    return len;
  389|    208|                }
  390|    208|                JSONCONS_CATCH(const std::exception&)     
  391|    208|                {
  392|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  393|      0|                    return 0;
  394|      0|                }
  395|    208|            }
  396|  80.6M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEv:
  399|  10.9k|        {
  400|  10.9k|            if (stream_ptr_->eof())
  ------------------
  |  Branch (400:17): [True: 1.41k, False: 9.48k]
  ------------------
  401|  1.41k|            {
  402|  1.41k|                length_ = 0;
  403|  1.41k|                return;
  404|  1.41k|            }
  405|       |
  406|  9.48k|            data_ = buffer_;
  407|  9.48k|            JSONCONS_TRY
  ------------------
  |  |   37|  9.48k|    #define JSONCONS_TRY try
  ------------------
  408|  9.48k|            {
  409|  9.48k|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(buffer_), buffer_size_);
  410|  9.48k|                length_ = static_cast<std::size_t>(count);
  411|       |
  412|  9.48k|                if (length_ < buffer_size_)
  ------------------
  |  Branch (412:21): [True: 4.34k, False: 5.14k]
  ------------------
  413|  4.34k|                {
  414|  4.34k|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  415|  4.34k|                }
  416|  9.48k|            }
  417|  9.48k|            JSONCONS_CATCH(const std::exception&)     
  418|  9.48k|            {
  419|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  420|      0|                length_ = 0;
  421|      0|            }
  422|  9.48k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISE_EE5valuentsr10ext_traits14has_data_exactIPhSE_EE5valueEmE4typeERS5_RSE_m:
  882|  2.59k|        {
  883|  2.59k|            std::size_t unread = length;
  884|       |
  885|  2.59k|            std::size_t n = (std::min)(max_buffer_length, unread);
  886|  4.24k|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (886:20): [True: 1.79k, False: 2.44k]
  |  Branch (886:29): [True: 1.65k, False: 142]
  ------------------
  887|  1.65k|            {
  888|  1.65k|                v.reserve(v.size()+n);
  889|  1.65k|                std::size_t actual = 0;
  890|  9.25M|                while (actual < n)
  ------------------
  |  Branch (890:24): [True: 9.25M, False: 1.56k]
  ------------------
  891|  9.25M|                {
  892|  9.25M|                    typename Source::value_type c{};
  893|  9.25M|                    if (source.read(&c,1) != 1)
  ------------------
  |  Branch (893:25): [True: 91, False: 9.25M]
  ------------------
  894|     91|                    {
  895|     91|                        break;
  896|     91|                    }
  897|  9.25M|                    v.push_back(c);
  898|  9.25M|                    ++actual;
  899|  9.25M|                }
  900|  1.65k|                unread -= actual;
  901|  1.65k|                n = (std::min)(max_buffer_length, unread);
  902|  1.65k|            }
  903|       |
  904|  2.59k|            return length - unread;
  905|  2.59k|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  11.1k|        {
  272|  11.1k|            return length_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:20): [True: 674, False: 10.4k]
  |  Branch (272:36): [True: 369, False: 305]
  ------------------
  273|  11.1k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISB_EE5valuesr10ext_traits14has_data_exactIPhSB_EE5valueEmE4typeERS5_RSB_m:
  859|  16.6k|        {
  860|  16.6k|            std::size_t unread = length;
  861|       |
  862|  16.6k|            std::size_t n = (std::min)(max_buffer_length, unread);
  863|  25.8k|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (863:20): [True: 9.36k, False: 16.4k]
  |  Branch (863:29): [True: 9.13k, False: 227]
  ------------------
  864|  9.13k|            {
  865|  9.13k|                std::size_t offset = v.size();
  866|  9.13k|                v.resize(v.size()+n);
  867|  9.13k|                std::size_t actual = source.read(v.data()+offset, n);
  868|  9.13k|                unread -= actual;
  869|  9.13k|                n = (std::min)(max_buffer_length, unread);
  870|  9.13k|            }
  871|       |
  872|  16.6k|            return length - unread;
  873|  16.6k|        }

_ZN8jsoncons6binary16little_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|   213k|    {
  198|   213k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 213k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|   213k|        T val;
  203|   213k|        std::memcpy(&val,first,sizeof(T));
  204|   213k|        return val;
  205|   213k|    }
_ZN8jsoncons6binary16little_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  13.8k|    {
  198|  13.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 13.8k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  13.8k|        T val;
  203|  13.8k|        std::memcpy(&val,first,sizeof(T));
  204|  13.8k|        return val;
  205|  13.8k|    }
_ZN8jsoncons6binary16little_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  42.8k|    {
  198|  42.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 42.8k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  42.8k|        T val;
  203|  42.8k|        std::memcpy(&val,first,sizeof(T));
  204|  42.8k|        return val;
  205|  42.8k|    }
_ZN8jsoncons6binary16little_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  12.6k|    {
  198|  12.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 12.6k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  12.6k|        T val;
  203|  12.6k|        std::memcpy(&val,first,sizeof(T));
  204|  12.6k|        return val;
  205|  12.6k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  32.9k|        {
  400|  32.9k|            return data_;
  401|  32.9k|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  32.9k|        {
  404|  32.9k|            return size_;
  405|  32.9k|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  32.9k|            : data_(data), size_(length)
  363|  32.9k|        {
  364|  32.9k|        }

_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIcS2_S5_EE:
  169|  14.0k|    {
  170|  14.0k|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 14.0k, False: 0]
  ------------------
  171|  14.0k|        {
  172|  14.0k|            heap_string_type* rawp = ext_traits::to_plain_pointer(ptr);
  173|       |
  174|  14.0k|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|  14.0k|            char* p = q - ptr->offset_;
  177|       |
  178|  14.0k|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|  14.0k|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|  14.0k|            byte_alloc.deallocate(p,mem_size);
  181|  14.0k|        }
  182|  14.0k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE12aligned_sizeEm:
  119|  28.0k|    {
  120|  28.0k|        return sizeof(storage_type) + n;
  121|  28.0k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEE13get_allocatorEv:
   35|  14.0k|    {
   36|  14.0k|        return alloc_;
   37|  14.0k|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIhmS4_EE:
  169|  16.4k|    {
  170|  16.4k|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 16.4k, False: 0]
  ------------------
  171|  16.4k|        {
  172|  16.4k|            heap_string_type* rawp = ext_traits::to_plain_pointer(ptr);
  173|       |
  174|  16.4k|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|  16.4k|            char* p = q - ptr->offset_;
  177|       |
  178|  16.4k|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|  16.4k|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|  16.4k|            byte_alloc.deallocate(p,mem_size);
  181|  16.4k|        }
  182|  16.4k|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE12aligned_sizeEm:
  119|  32.9k|    {
  120|  32.9k|        return sizeof(storage_type) + n;
  121|  32.9k|    }
_ZN8jsoncons4heap16heap_string_baseImNSt3__19allocatorIcEEE13get_allocatorEv:
   35|  16.4k|    {
   36|  16.4k|        return alloc_;
   37|  16.4k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE6createEPKcmS2_RKS5_:
  126|  14.0k|    {
  127|  14.0k|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|  14.0k|        std::size_t align = alignof(storage_type);
  130|  14.0k|        char* q = nullptr;
  131|  14.0k|        char* storage = nullptr;
  132|  14.0k|        byte_allocator_type byte_alloc(alloc);
  133|  14.0k|        uint8_t align_pad = 0;
  134|       |
  135|  14.0k|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 14.0k, False: 0]
  ------------------
  136|  14.0k|            byte_pointer ptr = byte_alloc.allocate(len);
  137|  14.0k|            q = ext_traits::to_plain_pointer(ptr);
  138|       |
  139|  14.0k|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 14.0k, False: 0]
  ------------------
  140|  14.0k|                storage = q;
  141|  14.0k|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|  14.0k|        }
  145|       |
  146|  14.0k|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 14.0k]
  ------------------
  147|      0|            align_pad = uint8_t(align-1);
  148|      0|            byte_pointer ptr = byte_alloc.allocate(align_pad+len);
  149|      0|            q = ext_traits::to_plain_pointer(ptr);
  150|      0|            storage = align_up(q, align);
  151|      0|            JSONCONS_ASSERT(storage >= q);
  ------------------
  |  |   45|      0|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 0]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  152|      0|        }
  153|       |
  154|  14.0k|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|  14.0k|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|  14.0k|        CharT* p = new(&psa->c)char_type[length + 1];
  159|  14.0k|        std::memcpy(p, s, length*sizeof(char_type));
  160|  14.0k|        p[length] = 0;
  161|  14.0k|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|  14.0k|        ps->length_ = length;
  163|  14.0k|        ps->offset_ = (uint8_t)(storage - q);
  164|  14.0k|        ps->align_pad_ = align_pad;
  165|  14.0k|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|  14.0k|    }
_ZN8jsoncons4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEC2ES2_RKS5_:
   69|  14.0k|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|  14.0k|    {
   71|  14.0k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEEC2ERKS2_RKS5_:
   45|  14.0k|        : extra_(extra), alloc_(alloc)
   46|  14.0k|    {
   47|  14.0k|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE6createEPKhmmRKS4_:
  126|  16.4k|    {
  127|  16.4k|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|  16.4k|        std::size_t align = alignof(storage_type);
  130|  16.4k|        char* q = nullptr;
  131|  16.4k|        char* storage = nullptr;
  132|  16.4k|        byte_allocator_type byte_alloc(alloc);
  133|  16.4k|        uint8_t align_pad = 0;
  134|       |
  135|  16.4k|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 16.4k, False: 0]
  ------------------
  136|  16.4k|            byte_pointer ptr = byte_alloc.allocate(len);
  137|  16.4k|            q = ext_traits::to_plain_pointer(ptr);
  138|       |
  139|  16.4k|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 16.4k, False: 0]
  ------------------
  140|  16.4k|                storage = q;
  141|  16.4k|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|  16.4k|        }
  145|       |
  146|  16.4k|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 16.4k]
  ------------------
  147|      0|            align_pad = uint8_t(align-1);
  148|      0|            byte_pointer ptr = byte_alloc.allocate(align_pad+len);
  149|      0|            q = ext_traits::to_plain_pointer(ptr);
  150|      0|            storage = align_up(q, align);
  151|      0|            JSONCONS_ASSERT(storage >= q);
  ------------------
  |  |   45|      0|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 0]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  152|      0|        }
  153|       |
  154|  16.4k|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|  16.4k|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|  16.4k|        CharT* p = new(&psa->c)char_type[length + 1];
  159|  16.4k|        std::memcpy(p, s, length*sizeof(char_type));
  160|  16.4k|        p[length] = 0;
  161|  16.4k|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|  16.4k|        ps->length_ = length;
  163|  16.4k|        ps->offset_ = (uint8_t)(storage - q);
  164|  16.4k|        ps->align_pad_ = align_pad;
  165|  16.4k|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|  16.4k|    }
_ZN8jsoncons4heap11heap_stringIhmNSt3__19allocatorIcEEEC2EmRKS4_:
   69|  16.4k|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|  16.4k|    {
   71|  16.4k|    }
_ZN8jsoncons4heap16heap_string_baseImNSt3__19allocatorIcEEEC2ERKmRKS4_:
   45|  16.4k|        : extra_(extra), alloc_(alloc)
   46|  16.4k|    {
   47|  16.4k|    }

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  14.0k|    {       
  242|  14.0k|        return (ptr);
  243|  14.0k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  16.4k|    {       
  242|  16.4k|        return (ptr);
  243|  16.4k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  79.6k|    {       
  242|  79.6k|        return (ptr);
  243|  79.6k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  73.2k|    {       
  242|  73.2k|        return (ptr);
  243|  73.2k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  30.4k|    {       
  242|  30.4k|        return (ptr);
  243|  30.4k|    }  

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1134|  9.55M|    {
 1135|  9.55M|        conv_errc  result = conv_errc();
 1136|  9.55M|        const CharT* last = data + length;
 1137|  29.9M|        while (data != last) 
  ------------------
  |  Branch (1137:16): [True: 20.4M, False: 9.55M]
  ------------------
 1138|  20.4M|        {
 1139|  20.4M|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1140|  20.4M|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1140:17): [True: 21, False: 20.4M]
  ------------------
 1141|     21|            {
 1142|     21|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1143|     21|            }
 1144|  20.4M|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1144:17): [True: 128, False: 20.4M]
  ------------------
 1145|    128|            {
 1146|    128|                return convert_result<CharT>{data,result} ;
 1147|    128|            }
 1148|  20.4M|            data += len;
 1149|  20.4M|        }
 1150|  9.55M|        return convert_result<CharT>{data,result} ;
 1151|  9.55M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  303|  20.4M|    {
  304|  20.4M|        uint8_t a;
  305|  20.4M|        const CharT* srcptr = first+length;
  306|  20.4M|        switch (length) {
  307|     20|        default:
  ------------------
  |  Branch (307:9): [True: 20, False: 20.4M]
  ------------------
  308|     20|            return conv_errc::over_long_utf8_sequence;
  309|  4.58k|        case 4:
  ------------------
  |  Branch (309:9): [True: 4.58k, False: 20.4M]
  ------------------
  310|  4.58k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (310:17): [True: 14, False: 4.57k]
  ------------------
  311|     14|                return conv_errc::expected_continuation_byte;
  312|  4.57k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  4.57k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  313|  8.76k|        case 3:
  ------------------
  |  Branch (313:9): [True: 4.19k, False: 20.4M]
  ------------------
  314|  8.76k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 16, False: 8.74k]
  ------------------
  315|     16|                return conv_errc::expected_continuation_byte;
  316|  8.74k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  8.74k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  9.96k|        case 2:
  ------------------
  |  Branch (317:9): [True: 1.21k, False: 20.4M]
  ------------------
  318|  9.96k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 27, False: 9.93k]
  ------------------
  319|     27|                return conv_errc::expected_continuation_byte;
  320|       |
  321|  9.93k|            switch (static_cast<uint8_t>(*first)) 
  322|  9.93k|            {
  323|       |                // no fall-through in this inner switch
  324|  1.02k|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (324:17): [True: 1.02k, False: 8.91k]
  |  Branch (324:32): [True: 6, False: 1.02k]
  ------------------
  325|  1.02k|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (325:17): [True: 664, False: 9.27k]
  |  Branch (325:32): [True: 3, False: 661]
  ------------------
  326|    661|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (326:17): [True: 412, False: 9.52k]
  |  Branch (326:32): [True: 8, False: 404]
  ------------------
  327|    517|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (327:17): [True: 517, False: 9.42k]
  |  Branch (327:32): [True: 4, False: 513]
  ------------------
  328|  7.32k|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (328:17): [True: 7.32k, False: 2.61k]
  |  Branch (328:32): [True: 0, False: 7.32k]
  ------------------
  329|  9.93k|            }
  330|       |
  331|  9.91k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  9.91k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  332|  20.4M|        case 1:
  ------------------
  |  Branch (332:9): [True: 20.4M, False: 10.0k]
  ------------------
  333|  20.4M|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (333:17): [True: 9.94k, False: 20.4M]
  |  Branch (333:57): [True: 29, False: 9.91k]
  ------------------
  334|     29|                return conv_errc::source_illegal;
  335|  20.4M|            break;
  336|  20.4M|        }
  337|  20.4M|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (337:13): [True: 1, False: 20.4M]
  ------------------
  338|      1|            return conv_errc::source_illegal;
  339|       |
  340|  20.4M|        return conv_errc();
  341|  20.4M|    }

_ZN8jsoncons12from_integerIiNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  8.56k|{
   43|  8.56k|    using char_type = typename Result::value_type;
   44|       |
   45|  8.56k|    char_type buf[255];
   46|  8.56k|    char_type *p = buf;
   47|  8.56k|    const char_type* last = buf+255;
   48|       |
   49|  8.56k|    bool is_negative = value < 0;
   50|       |
   51|  8.56k|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 6.97k, False: 1.58k]
  ------------------
   52|  6.97k|    {
   53|  6.97k|        do
   54|  27.7k|        {
   55|  27.7k|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  27.7k|        }
   57|  27.7k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 20.7k, False: 6.97k]
  |  Branch (57:33): [True: 20.7k, False: 0]
  ------------------
   58|  6.97k|    }
   59|  1.58k|    else
   60|  1.58k|    {
   61|       |
   62|  1.58k|        do
   63|  6.09k|        {
   64|  6.09k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  6.09k|        }
   66|  6.09k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.51k, False: 1.58k]
  |  Branch (66:33): [True: 4.51k, False: 0]
  ------------------
   67|  1.58k|    }
   68|  8.56k|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  8.56k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 8.56k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  8.56k|    std::size_t count = (p - buf);
   71|  8.56k|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 6.97k, False: 1.58k]
  ------------------
   72|  6.97k|    {
   73|  6.97k|        result.push_back('-');
   74|  6.97k|        ++count;
   75|  6.97k|    }
   76|  42.3k|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 33.7k, False: 8.56k]
  ------------------
   77|  33.7k|    {
   78|  33.7k|        result.push_back(*p);
   79|  33.7k|    }
   80|       |
   81|  8.56k|    return count;
   82|  8.56k|}

_ZN8jsoncons4bson3TP1C2Ev:
   78|  10.4k|        constexpr TP1() : low(0), high(0) {}
_ZN8jsoncons4bson19decimal128_to_charsEPcS1_RKNS0_3TP1E:
  335|  10.4k|    {
  336|  10.4k|        const std::string bson_decimal128_inf = "Infinity";
  337|  10.4k|        const std::string bson_decimal128_nan = "NaN";
  338|       |
  339|  10.4k|        const uint32_t combination_mask = 0x1f;   /* Extract least significant 5 bits */
  340|  10.4k|        const uint32_t exponent_mask = 0x3fff;    /* Extract least significant 14 bits */
  341|  10.4k|        const uint32_t combination_infinity = 30; /* Value of combination field for Inf */
  342|  10.4k|        const uint32_t combination_nan = 31;      /* Value of combination field for NaN */
  343|  10.4k|        const uint32_t exponent_bias = 6176;      /* decimal128 exponent bias */
  344|       |
  345|  10.4k|        char* str_out = first;      /* output pointer in string */
  346|  10.4k|        char significand_str[35]; /* decoded significand digits */
  347|       |
  348|       |        /* Note: bits in this routine are referred to starting at 0, */
  349|       |        /* from the sign bit, towards the coefficient. */
  350|  10.4k|        uint32_t high;                   /* bits 0 - 31 */
  351|  10.4k|        uint32_t midh;                   /* bits 32 - 63 */
  352|  10.4k|        uint32_t midl;                   /* bits 64 - 95 */
  353|  10.4k|        uint32_t low;                    /* bits 96 - 127 */
  354|  10.4k|        uint32_t combination;            /* bits 1 - 5 */
  355|  10.4k|        uint32_t biased_exponent;        /* decoded biased exponent (14 bits) */
  356|  10.4k|        uint32_t significand_digits = 0; /* the number of significand digits */
  357|  10.4k|        uint32_t significand[36] = {0};  /* the base-10 digits in the significand */
  358|  10.4k|        uint32_t *significand_read = significand; /* read pointer into significand */
  359|  10.4k|        int32_t exponent;                         /* unbiased exponent */
  360|  10.4k|        int32_t scientific_exponent; /* the exponent if scientific notation is
  361|       |                                      * used */
  362|  10.4k|        bool is_zero = false;        /* true if the number is zero */
  363|       | 
  364|  10.4k|        uint8_t significand_msb; /* the most signifcant significand bits (50-46) */
  365|  10.4k|        bson_uint128_t
  366|  10.4k|           significand128; /* temporary storage for significand decoding */
  367|       | 
  368|  10.4k|        memset (significand_str, 0, sizeof (significand_str));
  369|       | 
  370|  10.4k|        if ((int64_t) dec.high < 0) { /* negative */
  ------------------
  |  Branch (370:13): [True: 2.12k, False: 8.32k]
  ------------------
  371|  2.12k|           *(str_out++) = '-';
  372|  2.12k|        }
  373|       | 
  374|  10.4k|        low = (uint32_t) dec.low, midl = (uint32_t) (dec.low >> 32),
  375|  10.4k|        midh = (uint32_t) dec.high, high = (uint32_t) (dec.high >> 32);
  376|       | 
  377|       |        /* Decode combination field and exponent */
  378|  10.4k|        combination = (high >> 26) & combination_mask;
  379|       | 
  380|  10.4k|        if (JSONCONS_UNLIKELY ((combination >> 3) == 3)) {
  ------------------
  |  |   78|  10.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.08k, False: 8.37k]
  |  |  ------------------
  ------------------
  381|       |           /* Check for 'special' values */
  382|  2.08k|           if (combination == combination_infinity) { /* Infinity */
  ------------------
  |  Branch (382:16): [True: 219, False: 1.86k]
  ------------------
  383|    219|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_inf.size())) 
  ------------------
  |  Branch (383:20): [True: 219, False: 0]
  ------------------
  384|    219|               {
  385|    219|                   std::memcpy(str_out, bson_decimal128_inf.data(), bson_decimal128_inf.size());
  386|    219|                   str_out += bson_decimal128_inf.size();
  387|    219|               }
  388|    219|               *str_out = 0;
  389|       |              //strcpy_s (str_out, last-str_out, bson_decimal128_inf.c_str());
  390|    219|              return decimal128_to_chars_result{str_out, std::errc{}};
  391|  1.86k|           } else if (combination == combination_nan) { /* NaN */
  ------------------
  |  Branch (391:23): [True: 654, False: 1.21k]
  ------------------
  392|       |               /* first, not str_out, to erase the sign */
  393|    654|               str_out = first;
  394|    654|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_nan.size())) 
  ------------------
  |  Branch (394:20): [True: 654, False: 0]
  ------------------
  395|    654|               {
  396|    654|                   std::memcpy(str_out, bson_decimal128_nan.data(), bson_decimal128_nan.size());
  397|    654|                   str_out += bson_decimal128_nan.size();
  398|    654|               }
  399|    654|               *str_out = 0;
  400|       |              //strcpy_s (first, last-first, bson_decimal128_nan.c_str());
  401|       |              /* we don't care about the NaN payload. */
  402|    654|               return decimal128_to_chars_result{str_out, std::errc{}};
  403|  1.21k|           } else {
  404|  1.21k|              biased_exponent = (high >> 15) & exponent_mask;
  405|  1.21k|              significand_msb = 0x8 + ((high >> 14) & 0x1);
  406|  1.21k|           }
  407|  8.37k|        } else {
  408|  8.37k|           significand_msb = (high >> 14) & 0x7;
  409|  8.37k|           biased_exponent = (high >> 17) & exponent_mask;
  410|  8.37k|        }
  411|       | 
  412|  9.58k|        exponent = biased_exponent - exponent_bias;
  413|       |        /* Create string of significand digits */
  414|       | 
  415|       |        /* Convert the 114-bit binary number represented by */
  416|       |        /* (high, midh, midl, low) to at most 34 decimal */
  417|       |        /* digits through modulo and division. */
  418|  9.58k|        significand128.parts[0] = (high & 0x3fff) + ((significand_msb & 0xf) << 14);
  419|  9.58k|        significand128.parts[1] = midh;
  420|  9.58k|        significand128.parts[2] = midl;
  421|  9.58k|        significand128.parts[3] = low;
  422|       | 
  423|  9.58k|        if (significand128.parts[0] == 0 && significand128.parts[1] == 0 &&
  ------------------
  |  Branch (423:13): [True: 3.32k, False: 6.25k]
  |  Branch (423:45): [True: 1.71k, False: 1.61k]
  ------------------
  424|  1.71k|            significand128.parts[2] == 0 && significand128.parts[3] == 0) {
  ------------------
  |  Branch (424:13): [True: 1.30k, False: 406]
  |  Branch (424:45): [True: 719, False: 586]
  ------------------
  425|    719|           is_zero = true;
  426|  8.86k|        } else if (significand128.parts[0] >= (1 << 17)) {
  ------------------
  |  Branch (426:20): [True: 1.21k, False: 7.65k]
  ------------------
  427|       |           /* The significand is non-canonical or zero.
  428|       |            * In order to preserve compatibility with the densely packed decimal
  429|       |            * format, the maximum value for the significand of decimal128 is
  430|       |            * 1e34 - 1.  If the value is greater than 1e34 - 1, the IEEE 754
  431|       |            * standard dictates that the significand is interpreted as zero.
  432|       |            */
  433|  1.21k|           is_zero = true;
  434|  7.65k|        } else {
  435|  38.2k|           for (int k = 3; k >= 0; k--) {
  ------------------
  |  Branch (435:28): [True: 30.6k, False: 7.65k]
  ------------------
  436|  30.6k|              uint32_t least_digits = 0;
  437|  30.6k|              detail::bson_uint128_divide1B (
  438|  30.6k|                 significand128, &significand128, &least_digits);
  439|       | 
  440|       |              /* We now have the 9 least significant digits (in base 2). */
  441|       |              /* Convert and output to string. */
  442|  30.6k|              if (!least_digits) {
  ------------------
  |  Branch (442:19): [True: 2.07k, False: 28.5k]
  ------------------
  443|  2.07k|                 continue;
  444|  2.07k|              }
  445|       | 
  446|   285k|              for (int j = 8; j >= 0; j--) {
  ------------------
  |  Branch (446:31): [True: 256k, False: 28.5k]
  ------------------
  447|   256k|                 significand[k * 9 + j] = least_digits % 10;
  448|   256k|                 least_digits /= 10;
  449|   256k|              }
  450|  28.5k|           }
  451|  7.65k|        }
  452|       | 
  453|       |        /* Output format options: */
  454|       |        /* Scientific - [-]d.dddE(+/-)dd or [-]dE(+/-)dd */
  455|       |        /* Regular    - ddd.ddd */
  456|       | 
  457|  9.58k|        if (is_zero) {
  ------------------
  |  Branch (457:13): [True: 1.92k, False: 7.65k]
  ------------------
  458|  1.92k|           significand_digits = 1;
  459|  1.92k|           *significand_read = 0;
  460|  7.65k|        } else {
  461|  7.65k|           significand_digits = 36;
  462|  57.2k|           while (!(*significand_read)) {
  ------------------
  |  Branch (462:19): [True: 49.5k, False: 7.65k]
  ------------------
  463|  49.5k|              significand_digits--;
  464|  49.5k|              significand_read++;
  465|  49.5k|           }
  466|  7.65k|        }
  467|       | 
  468|  9.58k|        scientific_exponent = significand_digits - 1 + exponent;
  469|       | 
  470|       |        /* The scientific exponent checks are dictated by the string conversion
  471|       |         * specification and are somewhat arbitrary cutoffs.
  472|       |         *
  473|       |         * We must check exponent > 0, because if this is the case, the number
  474|       |         * has trailing zeros.  However, we *cannot* output these trailing zeros,
  475|       |         * because doing so would change the precision of the value, and would
  476|       |         * change stored data if the string converted number is round tripped.
  477|       |         */
  478|  9.58k|        if (scientific_exponent < -6 || exponent > 0) {
  ------------------
  |  Branch (478:13): [True: 6.97k, False: 2.60k]
  |  Branch (478:41): [True: 1.58k, False: 1.02k]
  ------------------
  479|       |           /* Scientific format */
  480|  8.56k|           *(str_out++) = char(*(significand_read++)) + '0';
  481|  8.56k|           significand_digits--;
  482|       | 
  483|  8.56k|           if (significand_digits) {
  ------------------
  |  Branch (483:16): [True: 6.64k, False: 1.91k]
  ------------------
  484|  6.64k|              *(str_out++) = '.';
  485|  6.64k|           }
  486|       | 
  487|   198k|           for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (487:36): [True: 190k, False: 8.55k]
  |  Branch (487:62): [True: 190k, False: 3]
  ------------------
  488|   190k|              *(str_out++) = char(*(significand_read++)) + '0';
  489|   190k|           }
  490|       |           /* Exponent */
  491|  8.56k|           *(str_out++) = 'E';
  492|       |
  493|  8.56k|           std::string s;
  494|  8.56k|           if (scientific_exponent >= 0) {
  ------------------
  |  Branch (494:16): [True: 1.58k, False: 6.97k]
  ------------------
  495|  1.58k|               s.push_back('+');
  496|  1.58k|           }
  497|  8.56k|           jsoncons::from_integer(scientific_exponent, s);
  498|  8.56k|           if (str_out + s.size() < last) 
  ------------------
  |  Branch (498:16): [True: 7.83k, False: 722]
  ------------------
  499|  7.83k|           {
  500|  7.83k|               std::memcpy(str_out, s.data(), s.size());
  501|  7.83k|           }
  502|    722|           else
  503|    722|           {
  504|    722|               return decimal128_to_chars_result{str_out, std::errc::value_too_large};
  505|    722|           }
  506|  7.83k|           str_out += s.size();
  507|  7.83k|        } else {
  508|       |           /* Regular format with no decimal place */
  509|  1.02k|           if (exponent >= 0) {
  ------------------
  |  Branch (509:16): [True: 361, False: 661]
  ------------------
  510|  9.59k|              for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (510:39): [True: 9.23k, False: 361]
  |  Branch (510:65): [True: 9.23k, False: 0]
  ------------------
  511|  9.23k|                 *(str_out++) = char(*(significand_read++)) + '0';
  512|  9.23k|              }
  513|    661|           } else {
  514|    661|              int32_t radix_position = significand_digits + exponent;
  515|       | 
  516|    661|              if (radix_position > 0) { /* non-zero digits before radix */
  ------------------
  |  Branch (516:19): [True: 267, False: 394]
  ------------------
  517|    267|                 for (int32_t i = 0;
  518|  1.84k|                      i < radix_position && (str_out < last);
  ------------------
  |  Branch (518:23): [True: 1.58k, False: 267]
  |  Branch (518:45): [True: 1.58k, False: 0]
  ------------------
  519|  1.58k|                      i++) {
  520|  1.58k|                    *(str_out++) = char(*(significand_read++)) + '0';
  521|  1.58k|                 }
  522|    394|              } else { /* leading zero before radix point */
  523|    394|                 *(str_out++) = '0';
  524|    394|              }
  525|       | 
  526|    661|              *(str_out++) = '.';
  527|  1.69k|              while (radix_position++ < 0) { /* add leading zeros after radix */
  ------------------
  |  Branch (527:22): [True: 1.03k, False: 661]
  ------------------
  528|  1.03k|                 *(str_out++) = '0';
  529|  1.03k|              }
  530|       | 
  531|    661|              for (std::size_t i = 0;
  532|  19.1k|                   (i < significand_digits - (std::max) (radix_position - 1, 0)) &&
  ------------------
  |  Branch (532:20): [True: 18.4k, False: 655]
  |  Branch (532:20): [True: 18.4k, False: 661]
  ------------------
  533|  18.4k|                   (str_out < last);
  ------------------
  |  Branch (533:20): [True: 18.4k, False: 6]
  ------------------
  534|  18.4k|                   i++) {
  535|  18.4k|                 *(str_out++) = char(*(significand_read++)) + '0';
  536|  18.4k|              }
  537|    661|           }
  538|  1.02k|        }
  539|  8.86k|        return decimal128_to_chars_result{str_out, std::errc{}};
  540|  9.58k|    }
_ZN8jsoncons4bson6detail21bson_uint128_divide1BENS0_14bson_uint128_tEPS2_Pj:
  178|  30.6k|        {
  179|  30.6k|            const uint32_t DIVISOR = 1000 * 1000 * 1000;
  180|  30.6k|            uint64_t _rem = 0;
  181|  30.6k|            int i = 0;
  182|       |            
  183|  30.6k|            if (!value.parts[0] && !value.parts[1] && !value.parts[2] &&
  ------------------
  |  Branch (183:17): [True: 25.5k, False: 5.04k]
  |  Branch (183:36): [True: 18.3k, False: 7.22k]
  |  Branch (183:55): [True: 10.2k, False: 8.07k]
  ------------------
  184|  10.2k|                !value.parts[3]) {
  ------------------
  |  Branch (184:17): [True: 2.07k, False: 8.19k]
  ------------------
  185|  2.07k|               *quotient = value;
  186|  2.07k|               *rem = 0;
  187|  2.07k|               return;
  188|  2.07k|            }
  189|       |            
  190|   142k|            for (i = 0; i <= 3; i++) {
  ------------------
  |  Branch (190:25): [True: 114k, False: 28.5k]
  ------------------
  191|   114k|               _rem <<= 32; /* Adjust remainder to match value of next dividend */
  192|   114k|               _rem += value.parts[i]; /* Add the divided to _rem */
  193|   114k|               value.parts[i] = (uint32_t) (_rem / DIVISOR);
  194|   114k|               _rem %= DIVISOR; /* Store the remainder */
  195|   114k|            }
  196|       |            
  197|  28.5k|            *quotient = value;
  198|  28.5k|            *rem = (uint32_t) _rem;
  199|  28.5k|        }

_ZN8jsoncons4bson15make_error_codeENS0_9bson_errcE:
   91|  4.44k|{
   92|  4.44k|    return std::error_code(static_cast<int>(result),bson_error_category());
   93|  4.44k|}
_ZN8jsoncons4bson19bson_error_categoryEv:
   84|  4.44k|{
   85|  4.44k|  static bson_error_category_impl instance;
   86|  4.44k|  return instance;
   87|  4.44k|}
_ZNK8jsoncons4bson24bson_error_category_impl7messageEi:
   45|  4.37k|    {
   46|  4.37k|        switch (static_cast<bson_errc>(ev))
   47|  4.37k|        {
   48|  1.51k|            case bson_errc::unexpected_eof:
  ------------------
  |  Branch (48:13): [True: 1.51k, False: 2.86k]
  ------------------
   49|  1.51k|                return "Unexpected end of file";
   50|      0|            case bson_errc::source_error:
  ------------------
  |  Branch (50:13): [True: 0, False: 4.37k]
  ------------------
   51|      0|                return "Source error";
   52|    149|            case bson_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (52:13): [True: 149, False: 4.22k]
  ------------------
   53|    149|                return "Illegal UTF-8 encoding in text string";
   54|      2|            case bson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (54:13): [True: 2, False: 4.37k]
  ------------------
   55|      2|                return "Data item nesting exceeds limit in options";
   56|     34|            case bson_errc::string_length_is_non_positive:
  ------------------
  |  Branch (56:13): [True: 34, False: 4.34k]
  ------------------
   57|     34|                return "Request for the length of a string returned a non-positive result";
   58|     39|            case bson_errc::length_is_negative:
  ------------------
  |  Branch (58:13): [True: 39, False: 4.33k]
  ------------------
   59|     39|                return "Request for the length of a binary returned a negative result";
   60|    107|            case bson_errc::unknown_type:
  ------------------
  |  Branch (60:13): [True: 107, False: 4.27k]
  ------------------
   61|    107|                return "An unknown type was found in the stream";
   62|      0|            case bson_errc::number_too_large:
  ------------------
  |  Branch (62:13): [True: 0, False: 4.37k]
  ------------------
   63|      0|                return "Number too large";
   64|      0|            case bson_errc::invalid_decimal128_string:
  ------------------
  |  Branch (64:13): [True: 0, False: 4.37k]
  ------------------
   65|      0|                return "Invalid decimal128 string";
   66|      0|            case bson_errc::datetime_too_large:
  ------------------
  |  Branch (66:13): [True: 0, False: 4.37k]
  ------------------
   67|      0|                return "datetime too large";
   68|      0|            case bson_errc::datetime_too_small:
  ------------------
  |  Branch (68:13): [True: 0, False: 4.37k]
  ------------------
   69|      0|                return "datetime too small";
   70|      0|            case bson_errc::expected_bson_document:
  ------------------
  |  Branch (70:13): [True: 0, False: 4.37k]
  ------------------
   71|      0|                return "Expected BSON document";
   72|      0|            case bson_errc::invalid_regex_string:
  ------------------
  |  Branch (72:13): [True: 0, False: 4.37k]
  ------------------
   73|      0|                return "Invalid regex string";
   74|  2.53k|            case bson_errc::size_mismatch:
  ------------------
  |  Branch (74:13): [True: 2.53k, False: 1.84k]
  ------------------
   75|  2.53k|                return "Document or array size doesn't match bytes read";
   76|      0|            default:
  ------------------
  |  Branch (76:13): [True: 0, False: 4.37k]
  ------------------
   77|      0|                return "Unknown BSON parser error";
   78|  4.37k|        }
   79|  4.37k|    }

_ZN8jsoncons4bson5oid_tC2EPh:
   53|  4.42k|        {
   54|  4.42k|            std::memcpy(bytes_.data(),data,12);
   55|  4.42k|        }
_ZN8jsoncons4bson9to_stringINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEvRKNS0_5oid_tERT_:
  236|  4.42k|    {
  237|  4.42k|        s.resize(24);
  238|  4.42k|        detail::init_hex_char_pairs(oid, reinterpret_cast<uint16_t*>(&s[0]));
  239|  4.42k|    }
_ZN8jsoncons4bson6detail19init_hex_char_pairsERKNS0_5oid_tEPt:
  213|  4.42k|        {
  214|  4.42k|            const uint8_t* bytes = oid.data();
  215|  4.42k|            const uint16_t* gHexCharPairs = get_hex_char_pairs(std::integral_constant<bool, jsoncons::endian::native == jsoncons::endian::big>());
  216|       |
  217|  4.42k|            data[0] = gHexCharPairs[bytes[0]];
  218|  4.42k|            data[1] = gHexCharPairs[bytes[1]];
  219|  4.42k|            data[2] = gHexCharPairs[bytes[2]];
  220|  4.42k|            data[3] = gHexCharPairs[bytes[3]];
  221|  4.42k|            data[4] = gHexCharPairs[bytes[4]];
  222|  4.42k|            data[5] = gHexCharPairs[bytes[5]];
  223|  4.42k|            data[6] = gHexCharPairs[bytes[6]];
  224|  4.42k|            data[7] = gHexCharPairs[bytes[7]];
  225|  4.42k|            data[8] = gHexCharPairs[bytes[8]];
  226|  4.42k|            data[9] = gHexCharPairs[bytes[9]];
  227|  4.42k|            data[10] = gHexCharPairs[bytes[10]];
  228|  4.42k|            data[11] = gHexCharPairs[bytes[11]];
  229|  4.42k|        }
_ZNK8jsoncons4bson5oid_t4dataEv:
   67|  4.42k|        {
   68|  4.42k|            return bytes_.data();
   69|  4.42k|        }
_ZN8jsoncons4bson6detail18get_hex_char_pairsENSt3__117integral_constantIbLb0EEE:
  181|  4.42k|        {
  182|  4.42k|            static const uint16_t hex_char_pairs[] = {
  183|  4.42k|                12336, 12592, 12848, 13104, 13360, 13616, 13872, 14128, 14384, 14640, 24880,
  184|  4.42k|                25136, 25392, 25648, 25904, 26160, 12337, 12593, 12849, 13105, 13361, 13617,
  185|  4.42k|                13873, 14129, 14385, 14641, 24881, 25137, 25393, 25649, 25905, 26161, 12338,
  186|  4.42k|                12594, 12850, 13106, 13362, 13618, 13874, 14130, 14386, 14642, 24882, 25138,
  187|  4.42k|                25394, 25650, 25906, 26162, 12339, 12595, 12851, 13107, 13363, 13619, 13875,
  188|  4.42k|                14131, 14387, 14643, 24883, 25139, 25395, 25651, 25907, 26163, 12340, 12596,
  189|  4.42k|                12852, 13108, 13364, 13620, 13876, 14132, 14388, 14644, 24884, 25140, 25396,
  190|  4.42k|                25652, 25908, 26164, 12341, 12597, 12853, 13109, 13365, 13621, 13877, 14133,
  191|  4.42k|                14389, 14645, 24885, 25141, 25397, 25653, 25909, 26165, 12342, 12598, 12854,
  192|  4.42k|                13110, 13366, 13622, 13878, 14134, 14390, 14646, 24886, 25142, 25398, 25654,
  193|  4.42k|                25910, 26166, 12343, 12599, 12855, 13111, 13367, 13623, 13879, 14135, 14391,
  194|  4.42k|                14647, 24887, 25143, 25399, 25655, 25911, 26167, 12344, 12600, 12856, 13112,
  195|  4.42k|                13368, 13624, 13880, 14136, 14392, 14648, 24888, 25144, 25400, 25656, 25912,
  196|  4.42k|                26168, 12345, 12601, 12857, 13113, 13369, 13625, 13881, 14137, 14393, 14649,
  197|  4.42k|                24889, 25145, 25401, 25657, 25913, 26169, 12385, 12641, 12897, 13153, 13409,
  198|  4.42k|                13665, 13921, 14177, 14433, 14689, 24929, 25185, 25441, 25697, 25953, 26209,
  199|  4.42k|                12386, 12642, 12898, 13154, 13410, 13666, 13922, 14178, 14434, 14690, 24930,
  200|  4.42k|                25186, 25442, 25698, 25954, 26210, 12387, 12643, 12899, 13155, 13411, 13667,
  201|  4.42k|                13923, 14179, 14435, 14691, 24931, 25187, 25443, 25699, 25955, 26211, 12388,
  202|  4.42k|                12644, 12900, 13156, 13412, 13668, 13924, 14180, 14436, 14692, 24932, 25188,
  203|  4.42k|                25444, 25700, 25956, 26212, 12389, 12645, 12901, 13157, 13413, 13669, 13925,
  204|  4.42k|                14181, 14437, 14693, 24933, 25189, 25445, 25701, 25957, 26213, 12390, 12646,
  205|  4.42k|                12902, 13158, 13414, 13670, 13926, 14182, 14438, 14694, 24934, 25190, 25446,
  206|  4.42k|                25702, 25958, 26214};
  207|       |
  208|  4.42k|            return hex_char_pairs;
  209|  4.42k|        }

_ZNK8jsoncons4bson19bson_options_common17max_nesting_depthEv:
   31|  4.39k|    {
   32|  4.39k|        return max_nesting_depth_;
   33|  4.39k|    }
_ZN8jsoncons4bson19bson_decode_optionsC1Ev:
   40|  4.39k|    bson_decode_options() = default;
_ZN8jsoncons4bson19bson_options_commonC2Ev:
   23|  4.39k|    bson_options_common() = default;
_ZN8jsoncons4bson19bson_options_commonD2Ev:
   25|  4.39k|    virtual ~bson_options_common() = default;

_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19bson_decode_optionsERKS7_:
   85|  4.39k|       : source_(std::forward<Sourceable>(source)), 
   86|  4.39k|         max_nesting_depth_(options.max_nesting_depth()),
   87|  4.39k|         bytes_buffer_(temp_alloc),
   88|  4.39k|         name_buffer_(temp_alloc),
   89|  4.39k|         text_buffer_(temp_alloc),
   90|  4.39k|         state_stack_(temp_alloc)
   91|  4.39k|    {
   92|  4.39k|        state_stack_.emplace_back(parse_mode::root,0,0);
   93|  4.39k|    }
_ZN8jsoncons4bson11parse_stateC2ENS0_10parse_modeEmmh:
   48|  85.2k|        : mode(mode_), length(length_), pos(pos_), type(type_)
   49|  85.2k|    {
   50|  85.2k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  4.37k|    {
  150|  4.37k|        return 0;
  151|  4.37k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  4.37k|    {
  155|  4.37k|        return source_.position();
  156|  4.37k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  4.39k|    {
  102|  4.39k|        more_ = true;
  103|  4.39k|        done_ = false;
  104|  4.39k|        bytes_buffer_.clear();
  105|  4.39k|        name_buffer_.clear();
  106|  4.39k|        text_buffer_.clear();
  107|  4.39k|        state_stack_.clear();
  108|  4.39k|        state_stack_.emplace_back(parse_mode::root,0,0);
  109|  4.39k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  169|  4.39k|    {
  170|  4.39k|        if (JSONCONS_UNLIKELY(source_.is_error()))
  ------------------
  |  |   78|  4.39k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.39k]
  |  |  ------------------
  ------------------
  171|      0|        {
  172|      0|            ec = bson_errc::source_error;
  173|      0|            more_ = false;
  174|      0|            return;
  175|      0|        }
  176|       |        
  177|  30.7M|        while (!done_ && more_)
  ------------------
  |  Branch (177:16): [True: 30.7M, False: 18]
  |  Branch (177:26): [True: 30.7M, False: 3.60k]
  ------------------
  178|  30.7M|        {
  179|  30.7M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (179:21): [True: 30.7M, False: 0]
  ------------------
  180|  30.7M|            {
  181|  4.39k|                case parse_mode::root:
  ------------------
  |  Branch (181:17): [True: 4.39k, False: 30.7M]
  ------------------
  182|  4.39k|                    state_stack_.back().mode = parse_mode::accept;
  183|  4.39k|                    begin_document(visitor, ec);
  184|  4.39k|                    break;
  185|  9.57M|                case parse_mode::document:
  ------------------
  |  Branch (185:17): [True: 9.57M, False: 21.1M]
  ------------------
  186|  9.57M|                {
  187|  9.57M|                    uint8_t type;
  188|  9.57M|                    std::size_t n = source_.read(&type, 1);
  189|  9.57M|                    state_stack_.back().pos += n;
  190|  9.57M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  9.57M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 666, False: 9.57M]
  |  |  ------------------
  ------------------
  191|    666|                    {
  192|    666|                        ec = bson_errc::unexpected_eof;
  193|    666|                        more_ = false;
  194|    666|                        return;
  195|    666|                    }
  196|  9.57M|                    if (type != 0x00)
  ------------------
  |  Branch (196:25): [True: 9.55M, False: 24.3k]
  ------------------
  197|  9.55M|                    {
  198|  9.55M|                        read_e_name(visitor,jsoncons::bson::bson_container_type::document,ec);
  199|  9.55M|                        state_stack_.back().mode = parse_mode::value;
  200|  9.55M|                        state_stack_.back().type = type;
  201|  9.55M|                    }
  202|  24.3k|                    else
  203|  24.3k|                    {
  204|  24.3k|                        end_document(visitor,ec);
  205|  24.3k|                    }
  206|  9.57M|                    break;
  207|  9.57M|                }
  208|  11.6M|                case parse_mode::array:
  ------------------
  |  Branch (208:17): [True: 11.6M, False: 19.1M]
  ------------------
  209|  11.6M|                {
  210|  11.6M|                    uint8_t type;
  211|  11.6M|                    std::size_t n = source_.read(&type, 1);
  212|  11.6M|                    state_stack_.back().pos += n;
  213|  11.6M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  11.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 110, False: 11.6M]
  |  |  ------------------
  ------------------
  214|    110|                    {
  215|    110|                        ec = bson_errc::unexpected_eof;
  216|    110|                        more_ = false;
  217|    110|                        return;
  218|    110|                    }
  219|  11.6M|                    if (type != 0x00)
  ------------------
  |  Branch (219:25): [True: 11.6M, False: 17.5k]
  ------------------
  220|  11.6M|                    {
  221|  11.6M|                        read_e_name(visitor,jsoncons::bson::bson_container_type::array,ec);
  222|  11.6M|                        read_value(visitor, type, ec);
  223|  11.6M|                    }
  224|  17.5k|                    else
  225|  17.5k|                    {
  226|  17.5k|                        end_array(visitor,ec);
  227|  17.5k|                    }
  228|  11.6M|                    break;
  229|  11.6M|                }
  230|  9.55M|                case parse_mode::value:
  ------------------
  |  Branch (230:17): [True: 9.55M, False: 21.2M]
  ------------------
  231|  9.55M|                    state_stack_.back().mode = parse_mode::document;
  232|  9.55M|                    read_value(visitor,state_stack_.back().type,ec);
  233|  9.55M|                    break;
  234|     18|                case parse_mode::accept:
  ------------------
  |  Branch (234:17): [True: 18, False: 30.7M]
  ------------------
  235|     18|                {
  236|     18|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   45|     18|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 18]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  237|     18|                    state_stack_.clear();
  238|     18|                    more_ = false;
  239|     18|                    done_ = true;
  240|     18|                    visitor.flush();
  241|     18|                    break;
  242|     18|                }
  243|  30.7M|            }
  244|  30.7M|        }
  245|  4.39k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14begin_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  250|  36.6k|    {
  251|  36.6k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   78|  36.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 36.6k]
  |  |  ------------------
  ------------------
  252|      1|        {
  253|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  254|      1|            more_ = false;
  255|      1|            return;
  256|      1|        } 
  257|       |
  258|  36.6k|        uint8_t buf[sizeof(int32_t)]; 
  259|  36.6k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  260|  36.6k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  36.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 42, False: 36.6k]
  |  |  ------------------
  ------------------
  261|     42|        {
  262|     42|            ec = bson_errc::unexpected_eof;
  263|     42|            more_ = false;
  264|     42|            return;
  265|     42|        }
  266|       |
  267|  36.6k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  268|       |
  269|  36.6k|        visitor.begin_object(semantic_tag::none, *this, ec);
  270|  36.6k|        more_ = !cursor_mode_;
  271|  36.6k|        state_stack_.emplace_back(parse_mode::document,length,n);
  272|  36.6k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_e_nameERNS_18basic_json_visitorIcEENS0_19bson_container_typeERNS3_10error_codeE:
  344|  21.1M|    {
  345|  21.1M|        name_buffer_.clear();
  346|  21.1M|        read_cstring(name_buffer_, ec);
  347|  21.1M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  21.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 154, False: 21.1M]
  |  |  ------------------
  ------------------
  348|    154|        {
  349|    154|            return;
  350|    154|        }
  351|  21.1M|        if (type == jsoncons::bson::bson_container_type::document)
  ------------------
  |  Branch (351:13): [True: 9.55M, False: 11.6M]
  ------------------
  352|  9.55M|        {
  353|  9.55M|            auto result = unicode_traits::validate(name_buffer_.data(),name_buffer_.size());
  354|  9.55M|            if (JSONCONS_UNLIKELY(result.ec != unicode_traits::conv_errc()))
  ------------------
  |  |   78|  9.55M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 89, False: 9.55M]
  |  |  ------------------
  ------------------
  355|     89|            {
  356|     89|                ec = bson_errc::invalid_utf8_text_string;
  357|     89|                more_ = false;
  358|     89|                return;
  359|     89|            }
  360|  9.55M|            visitor.key(jsoncons::basic_string_view<char>(name_buffer_.data(),name_buffer_.length()), *this, ec);
  361|  9.55M|            more_ = !cursor_mode_;
  362|  9.55M|        }
  363|  21.1M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_cstringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
  647|  21.2M|    {
  648|  21.2M|        uint8_t c = 0xff;
  649|  49.7M|        while (true)
  ------------------
  |  Branch (649:16): [True: 49.7M, Folded]
  ------------------
  650|  49.7M|        {
  651|  49.7M|            std::size_t n = source_.read(&c, 1);
  652|  49.7M|            state_stack_.back().pos += n;
  653|  49.7M|            if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  49.7M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 202, False: 49.7M]
  |  |  ------------------
  ------------------
  654|    202|            {
  655|    202|                ec = bson_errc::unexpected_eof;
  656|    202|                more_ = false;
  657|    202|                return;
  658|    202|            }
  659|  49.7M|            if (c == 0)
  ------------------
  |  Branch (659:17): [True: 21.2M, False: 28.5M]
  ------------------
  660|  21.2M|            {
  661|  21.2M|                break;
  662|  21.2M|            }
  663|  28.5M|            buffer.push_back(c);
  664|  28.5M|        }
  665|  21.2M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12end_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  275|  24.3k|    {
  276|  24.3k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   45|  24.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  277|       |
  278|  24.3k|        visitor.end_object(*this,ec);
  279|  24.3k|        more_ = !cursor_mode_;
  280|  24.3k|        if (level() == mark_level_)
  ------------------
  |  Branch (280:13): [True: 0, False: 24.3k]
  ------------------
  281|      0|        {
  282|      0|            more_ = false;
  283|      0|        }
  284|  24.3k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   78|  24.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.19k, False: 22.1k]
  |  |  ------------------
  ------------------
  285|  2.19k|        {
  286|  2.19k|            ec = bson_errc::size_mismatch;
  287|  2.19k|            more_ = false;
  288|  2.19k|            return;
  289|  2.19k|        }
  290|  22.1k|        std::size_t pos = state_stack_.back().pos;
  291|  22.1k|        state_stack_.pop_back();
  292|  22.1k|        state_stack_.back().pos += pos;
  293|  22.1k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  124|  41.9k|    {
  125|  41.9k|        return static_cast<int>(state_stack_.size());
  126|  41.9k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  366|  21.1M|    {
  367|  21.1M|        switch (type)
  368|  21.1M|        {
  369|  13.8k|            case jsoncons::bson::bson_type::double_type:
  ------------------
  |  Branch (369:13): [True: 13.8k, False: 21.1M]
  ------------------
  370|  13.8k|            {
  371|  13.8k|                uint8_t buf[sizeof(double)]; 
  372|  13.8k|                std::size_t n = source_.read(buf, sizeof(double));
  373|  13.8k|                state_stack_.back().pos += n;
  374|  13.8k|                if (JSONCONS_UNLIKELY(n != sizeof(double)))
  ------------------
  |  |   78|  13.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 13.8k]
  |  |  ------------------
  ------------------
  375|      9|                {
  376|      9|                    ec = bson_errc::unexpected_eof;
  377|      9|                    more_ = false;
  378|      9|                    return;
  379|      9|                }
  380|  13.8k|                double res = binary::little_to_native<double>(buf, sizeof(buf));
  381|  13.8k|                visitor.double_value(res, semantic_tag::none, *this, ec);
  382|  13.8k|                more_ = !cursor_mode_;
  383|  13.8k|                break;
  384|  13.8k|            }
  385|    278|            case jsoncons::bson::bson_type::symbol_type:
  ------------------
  |  Branch (385:13): [True: 278, False: 21.1M]
  ------------------
  386|    925|            case jsoncons::bson::bson_type::min_key_type:
  ------------------
  |  Branch (386:13): [True: 647, False: 21.1M]
  ------------------
  387|  1.16k|            case jsoncons::bson::bson_type::max_key_type:
  ------------------
  |  Branch (387:13): [True: 244, False: 21.1M]
  ------------------
  388|  2.09k|            case jsoncons::bson::bson_type::string_type:
  ------------------
  |  Branch (388:13): [True: 926, False: 21.1M]
  ------------------
  389|  2.09k|            {
  390|  2.09k|                text_buffer_.clear();
  391|  2.09k|                read_string(text_buffer_, ec);
  392|  2.09k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.09k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 209, False: 1.88k]
  |  |  ------------------
  ------------------
  393|    209|                {
  394|    209|                    return;
  395|    209|                }
  396|  1.88k|                auto result = unicode_traits::validate(text_buffer_.data(), text_buffer_.size());
  397|  1.88k|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::conv_errc()))
  ------------------
  |  |   78|  1.88k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 29, False: 1.85k]
  |  |  ------------------
  ------------------
  398|     29|                {
  399|     29|                    ec = bson_errc::invalid_utf8_text_string;
  400|     29|                    more_ = false;
  401|     29|                    return;
  402|     29|                }
  403|  1.85k|                visitor.string_value(text_buffer_, semantic_tag::none, *this, ec);
  404|  1.85k|                more_ = !cursor_mode_;
  405|  1.85k|                break;
  406|  1.88k|            }
  407|    587|            case jsoncons::bson::bson_type::javascript_type:
  ------------------
  |  Branch (407:13): [True: 587, False: 21.1M]
  ------------------
  408|    587|            {
  409|    587|                text_buffer_.clear();
  410|    587|                read_string(text_buffer_, ec);
  411|    587|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    587|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 43, False: 544]
  |  |  ------------------
  ------------------
  412|     43|                {
  413|     43|                    return;
  414|     43|                }
  415|    544|                auto result = unicode_traits::validate(text_buffer_.data(), text_buffer_.size());
  416|    544|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::conv_errc()))
  ------------------
  |  |   78|    544|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 31, False: 513]
  |  |  ------------------
  ------------------
  417|     31|                {
  418|     31|                    ec = bson_errc::invalid_utf8_text_string;
  419|     31|                    more_ = false;
  420|     31|                    return;
  421|     31|                }
  422|    513|                visitor.string_value(text_buffer_, semantic_tag::code, *this, ec);
  423|    513|                more_ = !cursor_mode_;
  424|    513|                break;
  425|    544|            }
  426|  15.6k|            case jsoncons::bson::bson_type::regex_type:
  ------------------
  |  Branch (426:13): [True: 15.6k, False: 21.1M]
  ------------------
  427|  15.6k|            {
  428|  15.6k|                text_buffer_.clear();
  429|  15.6k|                text_buffer_.push_back('/');
  430|  15.6k|                read_cstring(text_buffer_, ec);
  431|  15.6k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  15.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 30, False: 15.6k]
  |  |  ------------------
  ------------------
  432|     30|                {
  433|     30|                    return;
  434|     30|                }
  435|  15.6k|                text_buffer_.push_back('/');
  436|  15.6k|                read_cstring(text_buffer_, ec);
  437|  15.6k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  15.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 18, False: 15.6k]
  |  |  ------------------
  ------------------
  438|     18|                {
  439|     18|                    return;
  440|     18|                }
  441|  15.6k|                visitor.string_value(text_buffer_, semantic_tag::regex, *this, ec);
  442|  15.6k|                more_ = !cursor_mode_;
  443|  15.6k|                break;
  444|  15.6k|            }
  445|  32.2k|            case jsoncons::bson::bson_type::document_type: 
  ------------------
  |  Branch (445:13): [True: 32.2k, False: 21.1M]
  ------------------
  446|  32.2k|            {
  447|  32.2k|                begin_document(visitor,ec);
  448|  32.2k|                break;
  449|  15.6k|            }
  450|       |
  451|  39.8k|            case jsoncons::bson::bson_type::array_type: 
  ------------------
  |  Branch (451:13): [True: 39.8k, False: 21.1M]
  ------------------
  452|  39.8k|            {
  453|  39.8k|                begin_array(visitor,ec);
  454|  39.8k|                break;
  455|  15.6k|            }
  456|  6.17k|            case jsoncons::bson::bson_type::undefined_type: 
  ------------------
  |  Branch (456:13): [True: 6.17k, False: 21.1M]
  ------------------
  457|  6.17k|                {
  458|  6.17k|                    visitor.null_value(semantic_tag::undefined, *this, ec);
  459|  6.17k|                    more_ = !cursor_mode_;
  460|  6.17k|                    break;
  461|  15.6k|                }
  462|  20.7M|            case jsoncons::bson::bson_type::null_type: 
  ------------------
  |  Branch (462:13): [True: 20.7M, False: 425k]
  ------------------
  463|  20.7M|            {
  464|  20.7M|                visitor.null_value(semantic_tag::none, *this, ec);
  465|  20.7M|                more_ = !cursor_mode_;
  466|  20.7M|                break;
  467|  15.6k|            }
  468|   130k|            case jsoncons::bson::bson_type::bool_type:
  ------------------
  |  Branch (468:13): [True: 130k, False: 21.0M]
  ------------------
  469|   130k|            {
  470|   130k|                uint8_t c;
  471|   130k|                std::size_t n = source_.read(&c, 1);
  472|   130k|                state_stack_.back().pos += n;
  473|   130k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|   130k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 130k]
  |  |  ------------------
  ------------------
  474|      6|                {
  475|      6|                    ec = bson_errc::unexpected_eof;
  476|      6|                    more_ = false;
  477|      6|                    return;
  478|      6|                }
  479|   130k|                visitor.bool_value(c != 0, semantic_tag::none, *this, ec);
  480|   130k|                more_ = !cursor_mode_;
  481|   130k|                break;
  482|   130k|            }
  483|   117k|            case jsoncons::bson::bson_type::int32_type: 
  ------------------
  |  Branch (483:13): [True: 117k, False: 21.0M]
  ------------------
  484|   117k|            {
  485|   117k|                uint8_t buf[sizeof(int32_t)]; 
  486|   117k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  487|   117k|                state_stack_.back().pos += n;
  488|   117k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|   117k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 117k]
  |  |  ------------------
  ------------------
  489|      8|                {
  490|      8|                    ec = bson_errc::unexpected_eof;
  491|      8|                    more_ = false;
  492|      8|                    return;
  493|      8|                }
  494|   117k|                auto val = binary::little_to_native<int32_t>(buf, sizeof(buf));
  495|   117k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  496|   117k|                more_ = !cursor_mode_;
  497|   117k|                break;
  498|   117k|            }
  499|       |
  500|  21.9k|            case jsoncons::bson::bson_type::timestamp_type: 
  ------------------
  |  Branch (500:13): [True: 21.9k, False: 21.1M]
  ------------------
  501|  21.9k|            {
  502|  21.9k|                uint8_t buf[sizeof(uint64_t)]; 
  503|  21.9k|                std::size_t n = source_.read(buf, sizeof(uint64_t));
  504|  21.9k|                state_stack_.back().pos += n;
  505|  21.9k|                if (JSONCONS_UNLIKELY(n != sizeof(uint64_t)))
  ------------------
  |  |   78|  21.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 21.9k]
  |  |  ------------------
  ------------------
  506|      7|                {
  507|      7|                    ec = bson_errc::unexpected_eof;
  508|      7|                    more_ = false;
  509|      7|                    return;
  510|      7|                }
  511|  21.9k|                auto val = binary::little_to_native<uint64_t>(buf, sizeof(buf));
  512|  21.9k|                visitor.uint64_value(val, semantic_tag::none, *this, ec);
  513|  21.9k|                more_ = !cursor_mode_;
  514|  21.9k|                break;
  515|  21.9k|            }
  516|       |
  517|  6.70k|            case jsoncons::bson::bson_type::int64_type: 
  ------------------
  |  Branch (517:13): [True: 6.70k, False: 21.1M]
  ------------------
  518|  6.70k|            {
  519|  6.70k|                uint8_t buf[sizeof(int64_t)]; 
  520|  6.70k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  521|  6.70k|                state_stack_.back().pos += n;
  522|  6.70k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   78|  6.70k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 6.69k]
  |  |  ------------------
  ------------------
  523|      9|                {
  524|      9|                    ec = bson_errc::unexpected_eof;
  525|      9|                    more_ = false;
  526|      9|                    return;
  527|      9|                }
  528|  6.69k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  529|  6.69k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  530|  6.69k|                more_ = !cursor_mode_;
  531|  6.69k|                break;
  532|  6.70k|            }
  533|       |
  534|  6.01k|            case jsoncons::bson::bson_type::datetime_type: 
  ------------------
  |  Branch (534:13): [True: 6.01k, False: 21.1M]
  ------------------
  535|  6.01k|            {
  536|  6.01k|                uint8_t buf[sizeof(int64_t)]; 
  537|  6.01k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  538|  6.01k|                state_stack_.back().pos += n;
  539|  6.01k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   78|  6.01k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 6.00k]
  |  |  ------------------
  ------------------
  540|      8|                {
  541|      8|                    ec = bson_errc::unexpected_eof;
  542|      8|                    more_ = false;
  543|      8|                    return;
  544|      8|                }
  545|  6.00k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  546|  6.00k|                visitor.int64_value(val, semantic_tag::epoch_milli, *this, ec);
  547|  6.00k|                more_ = !cursor_mode_;
  548|  6.00k|                break;
  549|  6.01k|            }
  550|  16.7k|            case jsoncons::bson::bson_type::binary_type: 
  ------------------
  |  Branch (550:13): [True: 16.7k, False: 21.1M]
  ------------------
  551|  16.7k|            {
  552|  16.7k|                uint8_t buf[sizeof(int32_t)]; 
  553|  16.7k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  554|  16.7k|                state_stack_.back().pos += n;
  555|  16.7k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  16.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 13, False: 16.7k]
  |  |  ------------------
  ------------------
  556|     13|                {
  557|     13|                    ec = bson_errc::unexpected_eof;
  558|     13|                    more_ = false;
  559|     13|                    return;
  560|     13|                }
  561|  16.7k|                const auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  562|  16.7k|                if (JSONCONS_UNLIKELY(len < 0))
  ------------------
  |  |   78|  16.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 39, False: 16.7k]
  |  |  ------------------
  ------------------
  563|     39|                {
  564|     39|                    ec = bson_errc::length_is_negative;
  565|     39|                    more_ = false;
  566|     39|                    return;
  567|     39|                }
  568|  16.7k|                uint8_t subtype;
  569|  16.7k|                n = source_.read(&subtype, 1);
  570|  16.7k|                state_stack_.back().pos += n;
  571|  16.7k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  16.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 11, False: 16.6k]
  |  |  ------------------
  ------------------
  572|     11|                {
  573|     11|                    ec = bson_errc::unexpected_eof;
  574|     11|                    more_ = false;
  575|     11|                    return;
  576|     11|                }
  577|       |
  578|  16.6k|                bytes_buffer_.clear();
  579|  16.6k|                n = source_reader<Source>::read(source_, bytes_buffer_, len);
  580|  16.6k|                state_stack_.back().pos += n;
  581|  16.6k|                if (JSONCONS_UNLIKELY(n != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|  16.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 227, False: 16.4k]
  |  |  ------------------
  ------------------
  582|    227|                {
  583|    227|                    ec = bson_errc::unexpected_eof;
  584|    227|                    more_ = false;
  585|    227|                    return;
  586|    227|                }
  587|       |
  588|  16.4k|                visitor.byte_string_value(bytes_buffer_, 
  589|  16.4k|                                                  subtype, 
  590|  16.4k|                                                  *this,
  591|  16.4k|                                                  ec);
  592|  16.4k|                more_ = !cursor_mode_;
  593|  16.4k|                break;
  594|  16.6k|            }
  595|  10.4k|            case jsoncons::bson::bson_type::decimal128_type: 
  ------------------
  |  Branch (595:13): [True: 10.4k, False: 21.1M]
  ------------------
  596|  10.4k|            {
  597|  10.4k|                uint8_t buf[sizeof(uint64_t)*2]; 
  598|  10.4k|                std::size_t n = source_.read(buf, sizeof(buf));
  599|  10.4k|                state_stack_.back().pos += n;
  600|  10.4k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   78|  10.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 14, False: 10.4k]
  |  |  ------------------
  ------------------
  601|     14|                {
  602|     14|                    ec = bson_errc::unexpected_eof;
  603|     14|                    more_ = false;
  604|     14|                    return;
  605|     14|                }
  606|       |
  607|  10.4k|                decimal128_t dec;
  608|  10.4k|                dec.low = binary::little_to_native<uint64_t>(buf, sizeof(uint64_t));
  609|  10.4k|                dec.high = binary::little_to_native<uint64_t>(buf+sizeof(uint64_t), sizeof(uint64_t));
  610|       |
  611|  10.4k|                text_buffer_.clear();
  612|  10.4k|                text_buffer_.resize(bson::decimal128_limits::buf_size);
  613|  10.4k|                auto r = bson::decimal128_to_chars(&text_buffer_[0], &text_buffer_[0]+text_buffer_.size(), dec);
  614|  10.4k|                visitor.string_value(string_view(text_buffer_.data(),static_cast<std::size_t>(r.ptr-text_buffer_.data())), semantic_tag::float128, *this, ec);
  615|  10.4k|                more_ = !cursor_mode_;
  616|  10.4k|                break;
  617|  10.4k|            }
  618|  4.42k|            case jsoncons::bson::bson_type::object_id_type: 
  ------------------
  |  Branch (618:13): [True: 4.42k, False: 21.1M]
  ------------------
  619|  4.42k|            {
  620|  4.42k|                uint8_t buf[12]; 
  621|  4.42k|                std::size_t n = source_.read(buf, sizeof(buf));
  622|  4.42k|                state_stack_.back().pos += n;
  623|  4.42k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   78|  4.42k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 4.42k]
  |  |  ------------------
  ------------------
  624|      6|                {
  625|      6|                    ec = bson_errc::unexpected_eof;
  626|      6|                    more_ = false;
  627|      6|                    return;
  628|      6|                }
  629|       |
  630|  4.42k|                oid_t oid(buf);
  631|  4.42k|                to_string(oid, text_buffer_);
  632|       |
  633|  4.42k|                visitor.string_value(text_buffer_, semantic_tag::id, *this, ec);
  634|  4.42k|                more_ = !cursor_mode_;
  635|  4.42k|                break;
  636|  4.42k|            }
  637|    107|            default:
  ------------------
  |  Branch (637:13): [True: 107, False: 21.1M]
  ------------------
  638|    107|            {
  639|    107|                ec = bson_errc::unknown_type;
  640|    107|                more_ = false;
  641|    107|                return;
  642|  4.42k|            }
  643|  21.1M|        }
  644|  21.1M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
  668|  2.68k|    {
  669|  2.68k|        uint8_t buf[sizeof(int32_t)]; 
  670|  2.68k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  671|  2.68k|        state_stack_.back().pos += n;
  672|  2.68k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  2.68k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 58, False: 2.62k]
  |  |  ------------------
  ------------------
  673|     58|        {
  674|     58|            ec = bson_errc::unexpected_eof;
  675|     58|            more_ = false;
  676|     58|            return;
  677|     58|        }
  678|  2.62k|        auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  679|  2.62k|        if (JSONCONS_UNLIKELY(len < 1))
  ------------------
  |  |   78|  2.62k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 34, False: 2.59k]
  |  |  ------------------
  ------------------
  680|     34|        {
  681|     34|            ec = bson_errc::string_length_is_non_positive;
  682|     34|            more_ = false;
  683|     34|            return;
  684|     34|        }
  685|       |
  686|  2.59k|        std::size_t size = static_cast<std::size_t>(len) - static_cast<std::size_t>(1);
  687|  2.59k|        n = source_reader<Source>::read(source_, buffer, size);
  688|  2.59k|        state_stack_.back().pos += n;
  689|       |
  690|  2.59k|        if (JSONCONS_UNLIKELY(n != size))
  ------------------
  |  |   78|  2.59k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 142, False: 2.44k]
  |  |  ------------------
  ------------------
  691|    142|        {
  692|    142|            ec = bson_errc::unexpected_eof;
  693|    142|            more_ = false;
  694|    142|            return;
  695|    142|        }
  696|  2.44k|        uint8_t c;
  697|  2.44k|        n = source_.read(&c, 1);
  698|  2.44k|        state_stack_.back().pos += n;
  699|  2.44k|        if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  2.44k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 18, False: 2.43k]
  |  |  ------------------
  ------------------
  700|     18|        {
  701|     18|            ec = bson_errc::unexpected_eof;
  702|     18|            more_ = false;
  703|     18|            return;
  704|     18|        }
  705|  2.44k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  296|  39.8k|    {
  297|  39.8k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   78|  39.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 39.8k]
  |  |  ------------------
  ------------------
  298|      1|        {
  299|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  300|      1|            more_ = false;
  301|      1|            return;
  302|      1|        } 
  303|  39.8k|        uint8_t buf[sizeof(int32_t)]; 
  304|  39.8k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  305|  39.8k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  39.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 24, False: 39.8k]
  |  |  ------------------
  ------------------
  306|     24|        {
  307|     24|            ec = bson_errc::unexpected_eof;
  308|     24|            more_ = false;
  309|     24|            return;
  310|     24|        }
  311|  39.8k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  312|       |
  313|  39.8k|        visitor.begin_array(semantic_tag::none, *this, ec);
  314|  39.8k|        more_ = !cursor_mode_;
  315|  39.8k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  39.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 39.8k]
  |  |  ------------------
  ------------------
  316|      0|        {
  317|      0|            return;
  318|      0|        }
  319|  39.8k|        state_stack_.emplace_back(parse_mode::array, length, n);
  320|  39.8k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  323|  17.5k|    {
  324|  17.5k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   45|  17.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  325|       |
  326|  17.5k|        visitor.end_array(*this, ec);
  327|  17.5k|        more_ = !cursor_mode_;
  328|  17.5k|        if (level() == mark_level_)
  ------------------
  |  Branch (328:13): [True: 0, False: 17.5k]
  ------------------
  329|      0|        {
  330|      0|            more_ = false;
  331|      0|        }
  332|  17.5k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   78|  17.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 340, False: 17.2k]
  |  |  ------------------
  ------------------
  333|    340|        {
  334|    340|            ec = bson_errc::size_mismatch;
  335|    340|            more_ = false;
  336|    340|            return;
  337|    340|        }
  338|  17.2k|        std::size_t pos = state_stack_.back().pos;
  339|  17.2k|        state_stack_.pop_back();
  340|  17.2k|        state_stack_.back().pos += pos;
  341|  17.2k|    }

_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_19bson_decode_optionsERKS7_:
   46|  4.39k|       : parser_(std::forward<Sourceable>(source), options, temp_alloc),
   47|  4.39k|         visitor_(visitor)
   48|  4.39k|    {
   49|  4.39k|    }
_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   62|  4.39k|    {
   63|  4.39k|        parser_.reset();
   64|  4.39k|        parser_.parse(visitor_, ec);
   65|  4.39k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.39k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4.37k, False: 18]
  |  |  ------------------
  ------------------
   66|  4.37k|        {
   67|  4.37k|            return;
   68|  4.37k|        }
   69|  4.39k|    }
_ZNK8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   72|  4.37k|    {
   73|  4.37k|        return parser_.line();
   74|  4.37k|    }
_ZNK8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
   77|  4.37k|    {
   78|  4.37k|        return parser_.column();
   79|  4.37k|    }

_ZN8jsoncons4bson11decode_bsonINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEJRNS4_19basic_istringstreamIcNS4_11char_traitsIcEES6_EEEEET_DpOT0_:
  256|  4.39k|{
  257|  4.39k|    auto result = try_decode_bson<T>(std::forward<Args>(args)...); 
  258|  4.39k|    if (!result)
  ------------------
  |  Branch (258:9): [True: 4.37k, False: 18]
  ------------------
  259|  4.37k|    {
  260|  4.37k|        JSONCONS_THROW(ser_error(result.error().code(), result.error().line(), result.error().column()));
  ------------------
  |  |   35|  4.37k|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  261|  4.37k|    }
  262|     18|    return std::move(*result);
  263|  4.39k|}
_ZN8jsoncons4bson15try_decode_bsonINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEENS4_9enable_ifIXsr10ext_traits13is_basic_jsonIT_EE5valueENS_6detail8expectedIS9_NS_10read_errorEEEE4typeERNS4_13basic_istreamIcNS4_11char_traitsIcEEEERKNS0_19bson_decode_optionsE:
   79|  4.39k|{
   80|  4.39k|    using value_type = T;
   81|  4.39k|    using result_type = read_result<value_type>;
   82|       |
   83|  4.39k|    std::error_code ec;   
   84|  4.39k|    jsoncons::json_decoder<T> decoder;
   85|  4.39k|    auto adaptor = make_json_visitor_adaptor<json_visitor>(decoder);
   86|  4.39k|    bson_stream_reader reader(is, adaptor, options);
   87|  4.39k|    reader.read(ec);
   88|  4.39k|    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.39k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4.37k, False: 18]
  |  |  ------------------
  ------------------
   89|  4.37k|    {
   90|  4.37k|        return result_type{jsoncons::unexpect, ec, reader.line(), reader.column()};
   91|  4.37k|    }
   92|     18|    if (JSONCONS_UNLIKELY(!decoder.is_valid()))
  ------------------
  |  |   78|     18|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 18]
  |  |  ------------------
  ------------------
   93|      0|    {
   94|      0|        return result_type{jsoncons::unexpect, conv_errc::conversion_failed, reader.line(), reader.column()};
   95|      0|    }
   96|     18|    return result_type{decoder.get_result()};
   97|     18|}

