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

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|  11.1M|    {
   31|  11.1M|        return alloc_;
   32|  11.1M|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  7.47k|        : alloc_(alloc)
   26|  7.47k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  11.0M|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2743|   122M|        {
 2744|   122M|             destroy();
 2745|   122M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  884|   122M|        {
  885|   122M|            switch (storage_kind())
  886|   122M|            {
  887|  1.98k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (887:17): [True: 1.98k, False: 122M]
  ------------------
  888|  1.98k|                {
  889|  1.98k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (889:25): [True: 1.98k, False: 0]
  ------------------
  890|  1.98k|                    {
  891|  1.98k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  892|  1.98k|                    }
  893|  1.98k|                    break;
  894|      0|                }
  895|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (895:17): [True: 0, False: 122M]
  ------------------
  896|      0|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (896:25): [True: 0, False: 0]
  ------------------
  897|      0|                    {
  898|      0|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  899|      0|                    }
  900|      0|                    break;
  901|  5.77M|                case json_storage_kind::array:
  ------------------
  |  Branch (901:17): [True: 5.77M, False: 117M]
  ------------------
  902|  5.77M|                {
  903|  5.77M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 5.77M, False: 0]
  ------------------
  904|  5.77M|                    {
  905|  5.77M|                        auto& stor = cast<array_storage>();
  906|  5.77M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  907|  5.77M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  908|  5.77M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  909|  5.77M|                    }
  910|  5.77M|                    break;
  911|      0|                }
  912|  5.31M|                case json_storage_kind::object:
  ------------------
  |  Branch (912:17): [True: 5.31M, False: 117M]
  ------------------
  913|  5.31M|                {
  914|  5.31M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (914:25): [True: 5.31M, False: 0]
  ------------------
  915|  5.31M|                    {
  916|  5.31M|                        auto& stor = cast<object_storage>();
  917|  5.31M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  918|  5.31M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  919|  5.31M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  920|  5.31M|                    }
  921|  5.31M|                    break;
  922|      0|                }
  923|   111M|                default:
  ------------------
  |  Branch (923:17): [True: 111M, False: 11.0M]
  ------------------
  924|   111M|                    break;
  925|   122M|            }
  926|   122M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1430|   287M|        {
 1431|       |            // It is legal to access 'common_.storage_kind_' even though 
 1432|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1433|       |            // is a part of the common initial sequence of all union members
 1434|       |            // as defined in 11.4-25 of the Standard.
 1435|   287M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1436|   287M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
  990|  26.5k|        {
  991|  26.5k|            return cast(identity<T>());
  992|  26.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1081|  26.5k|        {
 1082|  26.5k|            return long_str_;
 1083|  26.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
  990|  47.6M|        {
  991|  47.6M|            return cast(identity<T>());
  992|  47.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1111|  47.6M|        {
 1112|  47.6M|            return array_;
 1113|  47.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2275|  86.4M|        {
 2276|  86.4M|            uninitialized_move(std::move(other));
 2277|  86.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1272|  86.4M|        {
 1273|  86.4M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1273:17): [True: 65.5M, False: 20.8M]
  ------------------
 1274|  65.5M|            {
 1275|  65.5M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1276|  65.5M|            }
 1277|  20.8M|            else
 1278|  20.8M|            {
 1279|  20.8M|                switch (other.storage_kind())
 1280|  20.8M|                {
 1281|  3.45k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1281:21): [True: 3.45k, False: 20.8M]
  ------------------
 1282|  3.45k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1283|  3.45k|                        other.construct<null_storage>();
 1284|  3.45k|                        break;
 1285|      0|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1285:21): [True: 0, False: 20.8M]
  ------------------
 1286|      0|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1287|      0|                        other.construct<null_storage>();
 1288|      0|                        break;
 1289|  11.2M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1289:21): [True: 11.2M, False: 9.58M]
  ------------------
 1290|  11.2M|                        construct<array_storage>(other.cast<array_storage>());
 1291|  11.2M|                        other.construct<null_storage>();
 1292|  11.2M|                        break;
 1293|  9.58M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1293:21): [True: 9.58M, False: 11.2M]
  ------------------
 1294|  9.58M|                        construct<object_storage>(other.cast<object_storage>());
 1295|  9.58M|                        other.construct<null_storage>();
 1296|  9.58M|                        break;
 1297|      0|                    default:
  ------------------
  |  Branch (1297:21): [True: 0, False: 20.8M]
  ------------------
 1298|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1299|      0|                        break;
 1300|  20.8M|                }
 1301|  20.8M|            }
 1302|  86.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  981|  10.2k|        {
  982|  10.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  10.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  630|  17.1k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  631|  17.1k|            {
  632|  17.1k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  981|  20.8M|        {
  982|  20.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  20.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
  990|  34.1M|        {
  991|  34.1M|            return cast(identity<T>());
  992|  34.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1001|  34.1M|        {
 1002|  34.1M|            return null_;
 1003|  34.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  454|  33.7M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  455|  33.7M|            {
  456|  33.7M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  981|  11.4M|        {
  982|  11.4M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  11.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  731|  11.6M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  732|  11.6M|            {
  733|  11.6M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  981|  9.60M|        {
  982|  9.60M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  9.60M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  781|  9.62M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  782|  9.62M|            {
  783|  9.62M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4707|  15.2k|        {
 4708|  15.2k|            switch (storage_kind())
 4709|  15.2k|            {
 4710|  15.2k|                case json_storage_kind::array:
  ------------------
  |  Branch (4710:17): [True: 15.2k, False: 0]
  ------------------
 4711|  15.2k|                    return array_range_type(cast<array_storage>().value().begin(),
 4712|  15.2k|                        cast<array_storage>().value().end());
 4713|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4713:17): [True: 0, False: 15.2k]
  ------------------
 4714|      0|                    return cast<ref_storage>().value().array_range();
 4715|      0|                default:
  ------------------
  |  Branch (4715:17): [True: 0, False: 15.2k]
  ------------------
 4716|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4717|  15.2k|            }
 4718|  15.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  754|  7.44M|            {
  755|  7.44M|                return *ptr_;
  756|  7.44M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  353|  15.2k|            : first_(first), last_(last)
  354|  15.2k|        {
  355|  15.2k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  358|  15.2k|        {
  359|  15.2k|            return first_;
  360|  15.2k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  362|  15.2k|        {
  363|  15.2k|            return last_;
  364|  15.2k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3387|  64.1k|        {
 3388|  64.1k|            switch (storage_kind())
 3389|  64.1k|            {
 3390|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3390:17): [True: 0, False: 64.1k]
  ------------------
 3391|      0|                    return cast<byte_string_storage>().length() == 0;
 3392|      0|                    break;
 3393|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3393:17): [True: 0, False: 64.1k]
  ------------------
 3394|      0|                    return cast<short_string_storage>().length() == 0;
 3395|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3395:17): [True: 0, False: 64.1k]
  ------------------
 3396|      0|                    return cast<long_string_storage>().length() == 0;
 3397|  60.5k|                case json_storage_kind::array:
  ------------------
  |  Branch (3397:17): [True: 60.5k, False: 3.57k]
  ------------------
 3398|  60.5k|                    return cast<array_storage>().value().empty();
 3399|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3399:17): [True: 0, False: 64.1k]
  ------------------
 3400|      0|                    return true;
 3401|  3.57k|                case json_storage_kind::object:
  ------------------
  |  Branch (3401:17): [True: 3.57k, False: 60.5k]
  ------------------
 3402|  3.57k|                    return cast<object_storage>().value().empty();
 3403|      0|                case json_storage_kind::json_const_ref:
  ------------------
  |  Branch (3403:17): [True: 0, False: 64.1k]
  ------------------
 3404|      0|                    return cast<const_ref_storage>().value().empty();
 3405|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3405:17): [True: 0, False: 64.1k]
  ------------------
 3406|      0|                    return cast<ref_storage>().value().empty();
 3407|      0|                default:
  ------------------
  |  Branch (3407:17): [True: 0, False: 64.1k]
  ------------------
 3408|      0|                    return false;
 3409|  64.1k|            }
 3410|  64.1k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
  996|  60.5k|        {
  997|  60.5k|            return cast(identity<T>());
  998|  60.5k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1116|  60.5k|        {
 1117|  60.5k|            return array_;
 1118|  60.5k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  759|  60.5k|            {
  760|  60.5k|                return *ptr_;
  761|  60.5k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
  996|  3.57k|        {
  997|  3.57k|            return cast(identity<T>());
  998|  3.57k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1106|  3.57k|        {
 1107|  3.57k|            return object_;
 1108|  3.57k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  805|  3.57k|            {
  806|  3.57k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  3.57k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.57k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  807|  3.57k|                return *ptr_;
  808|  3.57k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4103|  42.2k|        {
 4104|  42.2k|            switch (storage_kind())
 4105|  42.2k|            {
 4106|  15.2k|                case json_storage_kind::array:
  ------------------
  |  Branch (4106:17): [True: 15.2k, False: 26.9k]
  ------------------
 4107|  15.2k|                    cast<array_storage>().value().clear();
 4108|  15.2k|                    break;
 4109|  26.9k|                case json_storage_kind::object:
  ------------------
  |  Branch (4109:17): [True: 26.9k, False: 15.2k]
  ------------------
 4110|  26.9k|                    cast<object_storage>().value().clear();
 4111|  26.9k|                    break;
 4112|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4112:17): [True: 0, False: 42.2k]
  ------------------
 4113|      0|                    cast<ref_storage>().value().clear();
 4114|      0|                    break;
 4115|      0|                default:
  ------------------
  |  Branch (4115:17): [True: 0, False: 42.2k]
  ------------------
 4116|      0|                    break;
 4117|  42.2k|            }
 4118|  42.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  799|  90.4k|            {
  800|  90.4k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  90.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 90.4k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  801|  90.4k|                return *ptr_;
  802|  90.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4673|  26.9k|        {
 4674|  26.9k|            switch (storage_kind())
 4675|  26.9k|            {
 4676|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4676:17): [True: 0, False: 26.9k]
  ------------------
 4677|      0|                    return object_range_type(object_iterator(), object_iterator());
 4678|  26.9k|                case json_storage_kind::object:
  ------------------
  |  Branch (4678:17): [True: 26.9k, False: 0]
  ------------------
 4679|  26.9k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4680|  26.9k|                                                  object_iterator(cast<object_storage>().value().end()));
 4681|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4681:17): [True: 0, False: 26.9k]
  ------------------
 4682|      0|                    return cast<ref_storage>().value().object_range();
 4683|      0|                default:
  ------------------
  |  Branch (4683:17): [True: 0, False: 26.9k]
  ------------------
 4684|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4685|  26.9k|            }
 4686|  26.9k|        }
_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|  26.9k|            : first_(first), last_(last)
  354|  26.9k|        {
  355|  26.9k|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  122|  53.9k|            explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)  
  123|  53.9k|            {
  124|  53.9k|            }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  358|  26.9k|        {
  359|  26.9k|            return first_;
  360|  26.9k|        }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  362|  26.9k|        {
  363|  26.9k|            return last_;
  364|  26.9k|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  225|  32.2k|            {
  226|  32.2k|                return !(*this == rhs);
  227|  32.2k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  213|  32.2k|            {
  214|  32.2k|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (214:21): [True: 0, False: 32.2k]
  |  Branch (214:36): [True: 0, False: 32.2k]
  ------------------
  215|      0|                {
  216|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (216:28): [True: 0, False: 0]
  ------------------
  217|      0|                }
  218|  32.2k|                else
  219|  32.2k|                {
  220|  32.2k|                    return it_ == rhs.it_;
  221|  32.2k|                }
  222|  32.2k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  144|  5.29k|            {
  145|  5.29k|                return *it_;
  146|  5.29k|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  154|  5.29k|            {
  155|  5.29k|                ++it_;
  156|  5.29k|                return *this;
  157|  5.29k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
  990|  35.2M|        {
  991|  35.2M|            return cast(identity<T>());
  992|  35.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1101|  35.2M|        {
 1102|  35.2M|            return object_;
 1103|  35.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2243|    457|        {
 2244|    457|            construct<empty_object_storage>(semantic_tag::none);
 2245|    457|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  981|    457|        {
  982|    457|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    457|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
  990|    715|        {
  991|    715|            return cast(identity<T>());
  992|    715|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1011|    715|        {
 1012|    715|            return empty_object_;
 1013|    715|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  466|    457|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  467|    457|            {
  468|    457|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3446|  37.7k|        {
 3447|  37.7k|            if (n > 0)
  ------------------
  |  Branch (3447:17): [True: 37.7k, False: 0]
  ------------------
 3448|  37.7k|            {
 3449|  37.7k|                switch (storage_kind())
 3450|  37.7k|                {
 3451|  37.7k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3451:21): [True: 37.7k, False: 0]
  ------------------
 3452|  37.7k|                        cast<array_storage>().value().reserve(n);
 3453|  37.7k|                        break;
 3454|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3454:21): [True: 0, False: 37.7k]
  ------------------
 3455|      0|                        create_object_implicitly();
 3456|      0|                        cast<object_storage>().value().reserve(n);
 3457|      0|                        break;
 3458|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3458:21): [True: 0, False: 37.7k]
  ------------------
 3459|      0|                        cast<object_storage>().value().reserve(n);
 3460|      0|                        break;
 3461|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3461:21): [True: 0, False: 37.7k]
  ------------------
 3462|      0|                        cast<ref_storage>().value().reserve(n);
 3463|      0|                        break;
 3464|      0|                    default:
  ------------------
  |  Branch (3464:21): [True: 0, False: 37.7k]
  ------------------
 3465|      0|                        break;
 3466|  37.7k|                }
 3467|  37.7k|            }
 3468|  37.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2288|  5.31M|        {
 2289|  5.31M|            auto ptr = create_object(alloc);
 2290|  5.31M|            construct<object_storage>(ptr, tag);
 2291|  5.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  962|  5.31M|        {
  963|  5.31M|            using stor_allocator_type = typename object_storage::allocator_type;
  964|  5.31M|            stor_allocator_type stor_alloc(alloc);
  965|  5.31M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  966|  5.31M|            JSONCONS_TRY
  ------------------
  |  |   37|  5.31M|    #define JSONCONS_TRY try
  ------------------
  967|  5.31M|            {
  968|  5.31M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  969|  5.31M|                    std::forward<Args>(args)...);
  970|  5.31M|            }
  971|  5.31M|            JSONCONS_CATCH(...)
  972|  5.31M|            {
  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|  5.31M|            return ptr;
  977|  5.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  981|  5.31M|        {
  982|  5.31M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  5.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  776|  5.31M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  777|  5.31M|            {
  778|  5.31M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1421|  20.6M|        {
 1422|  20.6M|            if (this != &other)
  ------------------
  |  Branch (1422:17): [True: 20.6M, False: 0]
  ------------------
 1423|  20.6M|            {
 1424|  20.6M|                move_assignment(std::move(other));
 1425|  20.6M|            }
 1426|  20.6M|            return *this;
 1427|  20.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1373|  20.6M|        {
 1374|  20.6M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1374:17): [True: 20.6M, False: 0]
  |  Branch (1374:55): [True: 20.4M, False: 229k]
  ------------------
 1375|  20.4M|            {
 1376|  20.4M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1377|  20.4M|            }
 1378|   229k|            else
 1379|   229k|            {
 1380|   229k|                swap(other);
 1381|   229k|            }
 1382|  20.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4649|  7.35M|        {
 4650|  7.35M|            switch (storage_kind())
 4651|  7.35M|            {
 4652|  7.35M|                case json_storage_kind::array:
  ------------------
  |  Branch (4652:17): [True: 7.35M, False: 0]
  ------------------
 4653|  7.35M|                    cast<array_storage>().value().push_back(std::move(val));
 4654|  7.35M|                    break;
 4655|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4655:17): [True: 0, False: 7.35M]
  ------------------
 4656|      0|                    cast<ref_storage>().value().push_back(std::move(val));
 4657|      0|                    break;
 4658|      0|                default:
  ------------------
  |  Branch (4658:17): [True: 0, False: 7.35M]
  ------------------
 4659|      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
  ------------------
 4660|  7.35M|            }
 4661|  7.35M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1902|   229k|        {
 1903|   229k|            if (this == &other)
  ------------------
  |  Branch (1903:17): [True: 0, False: 229k]
  ------------------
 1904|      0|            {
 1905|      0|                return;
 1906|      0|            }
 1907|   229k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1907:17): [True: 229k, False: 0]
  |  Branch (1907:55): [True: 0, False: 229k]
  ------------------
 1908|      0|            {
 1909|      0|                basic_json temp;               
 1910|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1911|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1912|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1913|      0|            }
 1914|   229k|            else
 1915|   229k|            {
 1916|   229k|                switch (storage_kind())
 1917|   229k|                {
 1918|   220k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1918:21): [True: 220k, False: 9.35k]
  ------------------
 1919|    129|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1919:21): [True: 129, False: 229k]
  ------------------
 1920|  3.72k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1920:21): [True: 3.72k, False: 225k]
  ------------------
 1921|  2.65k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1921:21): [True: 2.65k, False: 226k]
  ------------------
 1922|    114|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1922:21): [True: 114, False: 229k]
  ------------------
 1923|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1923:21): [True: 0, False: 229k]
  ------------------
 1924|    283|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1924:21): [True: 283, False: 229k]
  ------------------
 1925|  2.45k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1925:21): [True: 2.45k, False: 227k]
  ------------------
 1926|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1926:21): [True: 0, False: 229k]
  ------------------
 1927|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1927:21): [True: 0, False: 229k]
  ------------------
 1928|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1928:21): [True: 0, False: 229k]
  ------------------
 1929|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1929:21): [True: 0, False: 229k]
  ------------------
 1930|      0|                    case json_storage_kind::json_const_ref: swap_l<const_ref_storage>(other); break;
  ------------------
  |  Branch (1930:21): [True: 0, False: 229k]
  ------------------
 1931|      0|                    case json_storage_kind::json_ref: swap_l<ref_storage>(other); break;
  ------------------
  |  Branch (1931:21): [True: 0, False: 229k]
  ------------------
 1932|      0|                    default:
  ------------------
  |  Branch (1932:21): [True: 0, False: 229k]
  ------------------
 1933|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1934|      0|                        break;
 1935|   229k|                }
 1936|   229k|            }
 1937|   229k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1156|   220k|        {
 1157|   220k|            switch (other.storage_kind())
 1158|   220k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 220k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 220k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 220k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 220k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 220k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 220k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 220k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 220k]
  ------------------
 1167|  6.69k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 6.69k, False: 213k]
  ------------------
 1168|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 220k]
  ------------------
 1169|   195k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 195k, False: 25.0k]
  ------------------
 1170|  18.3k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 18.3k, False: 201k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 220k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 220k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 220k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|   220k|            }
 1177|   220k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  981|   220k|        {
  982|   220k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|   220k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  981|    129|        {
  982|    129|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    129|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
  990|  4.41M|        {
  991|  4.41M|            return cast(identity<T>());
  992|  4.41M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1021|  4.41M|        {
 1022|  4.41M|            return boolean_;
 1023|  4.41M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  981|  3.72k|        {
  982|  3.72k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  3.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
  990|  2.32M|        {
  991|  2.32M|            return cast(identity<T>());
  992|  2.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1031|  2.32M|        {
 1032|  2.32M|            return int64_;
 1033|  2.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  981|  2.65k|        {
  982|  2.65k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
  990|  2.03M|        {
  991|  2.03M|            return cast(identity<T>());
  992|  2.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1041|  2.03M|        {
 1042|  2.03M|            return uint64_;
 1043|  2.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  981|    114|        {
  982|    114|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    114|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
  990|   204k|        {
  991|   204k|            return cast(identity<T>());
  992|   204k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1061|   204k|        {
 1062|   204k|            return float64_;
 1063|   204k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  981|    283|        {
  982|    283|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    283|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
  990|  3.61M|        {
  991|  3.61M|            return cast(identity<T>());
  992|  3.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1071|  3.61M|        {
 1072|  3.61M|            return short_str_;
 1073|  3.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  589|  2.45k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  590|  2.45k|            {
  591|  2.45k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  592|  2.45k|                data_[short_str_length_] = 0;
  593|  2.45k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  981|  2.45k|        {
  982|  2.45k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1142|  6.69k|        {
 1143|  6.69k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  6.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  6.69k|        {
 1149|  6.69k|            TypeR temp{other.cast<TypeR>()};
 1150|  6.69k|            other.construct<TypeL>(cast<TypeL>());
 1151|  6.69k|            construct<TypeR>(temp);
 1152|  6.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1142|   195k|        {
 1143|   195k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|   195k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|   195k|        {
 1149|   195k|            TypeR temp{other.cast<TypeR>()};
 1150|   195k|            other.construct<TypeL>(cast<TypeL>());
 1151|   195k|            construct<TypeR>(temp);
 1152|   195k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1142|  18.3k|        {
 1143|  18.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  18.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  18.3k|        {
 1149|  18.3k|            TypeR temp{other.cast<TypeR>()};
 1150|  18.3k|            other.construct<TypeL>(cast<TypeL>());
 1151|  18.3k|            construct<TypeR>(temp);
 1152|  18.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1156|    129|        {
 1157|    129|            switch (other.storage_kind())
 1158|    129|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 129]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 129]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 129]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 129]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 129]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 129]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 129]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 129]
  ------------------
 1167|      8|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 8, False: 121]
  ------------------
 1168|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 129]
  ------------------
 1169|     33|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 33, False: 96]
  ------------------
 1170|     88|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 88, False: 41]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 129]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 129]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 129]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|    129|            }
 1177|    129|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1142|      8|        {
 1143|      8|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|      8|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|      8|        {
 1149|      8|            TypeR temp{other.cast<TypeR>()};
 1150|      8|            other.construct<TypeL>(cast<TypeL>());
 1151|      8|            construct<TypeR>(temp);
 1152|      8|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1142|     33|        {
 1143|     33|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     33|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     33|        {
 1149|     33|            TypeR temp{other.cast<TypeR>()};
 1150|     33|            other.construct<TypeL>(cast<TypeL>());
 1151|     33|            construct<TypeR>(temp);
 1152|     33|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1142|     88|        {
 1143|     88|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     88|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     88|        {
 1149|     88|            TypeR temp{other.cast<TypeR>()};
 1150|     88|            other.construct<TypeL>(cast<TypeL>());
 1151|     88|            construct<TypeR>(temp);
 1152|     88|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1156|  3.72k|        {
 1157|  3.72k|            switch (other.storage_kind())
 1158|  3.72k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 3.72k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 3.72k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 3.72k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 3.72k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 3.72k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 3.72k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 3.72k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 3.72k]
  ------------------
 1167|    122|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 122, False: 3.59k]
  ------------------
 1168|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 3.72k]
  ------------------
 1169|  2.39k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 2.39k, False: 1.32k]
  ------------------
 1170|  1.20k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 1.20k, False: 2.51k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 3.72k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 3.72k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 3.72k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  3.72k|            }
 1177|  3.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1142|    122|        {
 1143|    122|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    122|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    122|        {
 1149|    122|            TypeR temp{other.cast<TypeR>()};
 1150|    122|            other.construct<TypeL>(cast<TypeL>());
 1151|    122|            construct<TypeR>(temp);
 1152|    122|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1142|  2.39k|        {
 1143|  2.39k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  2.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  2.39k|        {
 1149|  2.39k|            TypeR temp{other.cast<TypeR>()};
 1150|  2.39k|            other.construct<TypeL>(cast<TypeL>());
 1151|  2.39k|            construct<TypeR>(temp);
 1152|  2.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1142|  1.20k|        {
 1143|  1.20k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  1.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  1.20k|        {
 1149|  1.20k|            TypeR temp{other.cast<TypeR>()};
 1150|  1.20k|            other.construct<TypeL>(cast<TypeL>());
 1151|  1.20k|            construct<TypeR>(temp);
 1152|  1.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1156|  2.65k|        {
 1157|  2.65k|            switch (other.storage_kind())
 1158|  2.65k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 2.65k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 2.65k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 2.65k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 2.65k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 2.65k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 2.65k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 2.65k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 2.65k]
  ------------------
 1167|      5|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 5, False: 2.65k]
  ------------------
 1168|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 2.65k]
  ------------------
 1169|  2.36k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 2.36k, False: 294]
  ------------------
 1170|    289|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 289, False: 2.36k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.65k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.65k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.65k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  2.65k|            }
 1177|  2.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1142|      5|        {
 1143|      5|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|      5|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|      5|        {
 1149|      5|            TypeR temp{other.cast<TypeR>()};
 1150|      5|            other.construct<TypeL>(cast<TypeL>());
 1151|      5|            construct<TypeR>(temp);
 1152|      5|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1142|  2.36k|        {
 1143|  2.36k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  2.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  2.36k|        {
 1149|  2.36k|            TypeR temp{other.cast<TypeR>()};
 1150|  2.36k|            other.construct<TypeL>(cast<TypeL>());
 1151|  2.36k|            construct<TypeR>(temp);
 1152|  2.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1142|    289|        {
 1143|    289|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    289|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    289|        {
 1149|    289|            TypeR temp{other.cast<TypeR>()};
 1150|    289|            other.construct<TypeL>(cast<TypeL>());
 1151|    289|            construct<TypeR>(temp);
 1152|    289|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1156|    114|        {
 1157|    114|            switch (other.storage_kind())
 1158|    114|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 114]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 114]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 114]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 114]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 114]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 114]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 114]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 114]
  ------------------
 1167|     11|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 11, False: 103]
  ------------------
 1168|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 114]
  ------------------
 1169|     96|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 96, False: 18]
  ------------------
 1170|      7|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 7, False: 107]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 114]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 114]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 114]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|    114|            }
 1177|    114|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1142|     11|        {
 1143|     11|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     11|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     11|        {
 1149|     11|            TypeR temp{other.cast<TypeR>()};
 1150|     11|            other.construct<TypeL>(cast<TypeL>());
 1151|     11|            construct<TypeR>(temp);
 1152|     11|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1142|     96|        {
 1143|     96|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     96|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     96|        {
 1149|     96|            TypeR temp{other.cast<TypeR>()};
 1150|     96|            other.construct<TypeL>(cast<TypeL>());
 1151|     96|            construct<TypeR>(temp);
 1152|     96|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1142|      7|        {
 1143|      7|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|      7|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|      7|        {
 1149|      7|            TypeR temp{other.cast<TypeR>()};
 1150|      7|            other.construct<TypeL>(cast<TypeL>());
 1151|      7|            construct<TypeR>(temp);
 1152|      7|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1156|    283|        {
 1157|    283|            switch (other.storage_kind())
 1158|    283|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 283]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 283]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 283]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 283]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 283]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 283]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 283]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 283]
  ------------------
 1167|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 0, False: 283]
  ------------------
 1168|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 283]
  ------------------
 1169|     24|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 24, False: 259]
  ------------------
 1170|    259|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 259, False: 24]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 283]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 283]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 283]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|    283|            }
 1177|    283|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1142|     24|        {
 1143|     24|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     24|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     24|        {
 1149|     24|            TypeR temp{other.cast<TypeR>()};
 1150|     24|            other.construct<TypeL>(cast<TypeL>());
 1151|     24|            construct<TypeR>(temp);
 1152|     24|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1142|    259|        {
 1143|    259|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    259|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    259|        {
 1149|    259|            TypeR temp{other.cast<TypeR>()};
 1150|    259|            other.construct<TypeL>(cast<TypeL>());
 1151|    259|            construct<TypeR>(temp);
 1152|    259|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1156|  2.45k|        {
 1157|  2.45k|            switch (other.storage_kind())
 1158|  2.45k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 2.45k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 2.45k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 2.45k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 2.45k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 2.45k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 2.45k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 2.45k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 2.45k]
  ------------------
 1167|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 0, False: 2.45k]
  ------------------
 1168|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 2.45k]
  ------------------
 1169|    788|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 788, False: 1.67k]
  ------------------
 1170|  1.67k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 1.67k, False: 788]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.45k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.45k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.45k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  2.45k|            }
 1177|  2.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1142|    788|        {
 1143|    788|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    788|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    788|        {
 1149|    788|            TypeR temp{other.cast<TypeR>()};
 1150|    788|            other.construct<TypeL>(cast<TypeL>());
 1151|    788|            construct<TypeR>(temp);
 1152|    788|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1142|  1.67k|        {
 1143|  1.67k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  1.67k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  1.67k|        {
 1149|  1.67k|            TypeR temp{other.cast<TypeR>()};
 1150|  1.67k|            other.construct<TypeL>(cast<TypeL>());
 1151|  1.67k|            construct<TypeR>(temp);
 1152|  1.67k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2583|  2.03M|        {
 2584|  2.03M|            construct<uint64_storage>(val, tag);
 2585|  2.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  981|  2.03M|        {
  982|  2.03M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  520|  2.03M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  521|  2.03M|                  val_(val)
  522|  2.03M|            {
  523|  2.03M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  2.31M|        {
 2615|  2.31M|            construct<int64_storage>(val, tag);
 2616|  2.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  981|  2.31M|        {
  982|  2.31M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  500|  2.31M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  501|  2.31M|                  val_(val)
  502|  2.31M|            {
  503|  2.31M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2571|   203k|        {
 2572|   203k|            construct<double_storage>(val, tag);
 2573|   203k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  981|   203k|        {
  982|   203k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|   203k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  559|   203k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  560|   203k|                  val_(val)
  561|   203k|            {
  562|   203k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2369|  5.77M|        {
 2370|  5.77M|            auto ptr = create_array(Allocator());
 2371|  5.77M|            construct<array_storage>(ptr, tag);
 2372|  5.77M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  943|  5.77M|        {
  944|  5.77M|            using stor_allocator_type = typename array_storage::allocator_type;
  945|  5.77M|            stor_allocator_type stor_alloc(alloc);
  946|  5.77M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  947|  5.77M|            JSONCONS_TRY
  ------------------
  |  |   37|  5.77M|    #define JSONCONS_TRY try
  ------------------
  948|  5.77M|            {
  949|  5.77M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  950|  5.77M|                    std::forward<Args>(args)...);
  951|  5.77M|            }
  952|  5.77M|            JSONCONS_CATCH(...)
  953|  5.77M|            {
  954|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  955|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  956|      0|            }
  957|  5.77M|            return ptr;
  958|  5.77M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  981|  5.77M|        {
  982|  5.77M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  5.77M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  726|  5.77M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  727|  5.77M|            {
  728|  5.77M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2660|  12.9M|        {
 2661|  12.9M|            construct<null_storage>(tag);
 2662|  12.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  981|  12.9M|        {
  982|  12.9M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  12.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2670|  4.40M|        {
 2671|  4.40M|            construct<bool_storage>(val,tag);
 2672|  4.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  981|  4.40M|        {
  982|  4.40M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  4.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  479|  4.40M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  480|  4.40M|                  val_(val)
  481|  4.40M|            {
  482|  4.40M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2518|  3.61M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2519|  3.61M|        {
 2520|  3.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2548|  3.61M|        {
 2549|  3.61M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2549:17): [True: 3.61M, False: 1.98k]
  ------------------
 2550|  3.61M|            {
 2551|  3.61M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2552|  3.61M|            }
 2553|  1.98k|            else
 2554|  1.98k|            {
 2555|  1.98k|                auto ptr = create_long_string(alloc, s, length);
 2556|  1.98k|                construct<long_string_storage>(ptr, tag);
 2557|  1.98k|            }
 2558|  3.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  981|  3.61M|        {
  982|  3.61M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  3.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  581|  3.61M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  582|  3.61M|            {
  583|  3.61M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   45|  3.61M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.61M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  584|  3.61M|                std::memcpy(data_,p,length*sizeof(char_type));
  585|  3.61M|                data_[length] = 0;
  586|  3.61M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  929|  1.98k|        {
  930|  1.98k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  931|  1.98k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  932|  1.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  981|  1.98k|        {
  982|  1.98k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  1.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  625|  1.98k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  626|  1.98k|            {
  627|  1.98k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2680|      8|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2681|      8|        {
 2682|      8|        }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  239|  1.98k|    {
  240|  1.98k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  1.98k|        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|  1.98k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  1.98k|    {
  240|  1.98k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  1.98k|        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|  1.98k|    }

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

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  107|  5.77M|        {
  108|  5.77M|            flatten_and_destroy();
  109|  5.77M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  246|  5.77M|        {
  247|  12.7M|            while (!elements_.empty())
  ------------------
  |  Branch (247:20): [True: 7.00M, False: 5.77M]
  ------------------
  248|  7.00M|            {
  249|  7.00M|                value_type current = std::move(elements_.back());
  250|  7.00M|                elements_.pop_back();
  251|  7.00M|                switch (current.storage_kind())
  252|  7.00M|                {
  253|  15.2k|                    case json_storage_kind::array:
  ------------------
  |  Branch (253:21): [True: 15.2k, False: 6.98M]
  ------------------
  254|  15.2k|                    {
  255|  15.2k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (255:42): [True: 367k, False: 15.2k]
  ------------------
  256|   367k|                        {
  257|   367k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (257:34): [True: 57.3k, False: 310k]
  |  Branch (257:85): [True: 2.13k, False: 308k]
  ------------------
  258|  59.4k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (258:36): [True: 12.4k, False: 47.0k]
  ------------------
  259|  12.4k|                            {
  260|  12.4k|                                elements_.push_back(std::move(item));
  261|  12.4k|                            }
  262|   367k|                        }
  263|  15.2k|                        current.clear();                           
  264|  15.2k|                        break;
  265|      0|                    }
  266|  26.9k|                    case json_storage_kind::object:
  ------------------
  |  Branch (266:21): [True: 26.9k, False: 6.97M]
  ------------------
  267|  26.9k|                    {
  268|  26.9k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (268:40): [True: 5.29k, False: 26.9k]
  ------------------
  269|  5.29k|                        {
  270|  5.29k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (270:34): [True: 591, False: 4.70k]
  |  Branch (270:91): [True: 170, False: 4.53k]
  ------------------
  271|    761|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (271:36): [True: 163, False: 598]
  ------------------
  272|    163|                            {
  273|    163|                                elements_.push_back(std::move(kv.value()));
  274|    163|                            }
  275|  5.29k|                        }
  276|  26.9k|                        current.clear();                           
  277|  26.9k|                        break;
  278|      0|                    }
  279|  6.96M|                    default:
  ------------------
  |  Branch (279:21): [True: 6.96M, False: 42.2k]
  ------------------
  280|  6.96M|                        break;
  281|  7.00M|                }
  282|  7.00M|            }
  283|  5.77M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  220|  15.2k|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  222|  15.2k|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  127|  60.5k|        {
  128|  60.5k|            return elements_.empty();
  129|  60.5k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  140|  15.2k|        void clear() {elements_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   51|  7.47k|            : allocator_holder<allocator_type>(alloc), 
   52|  7.47k|              elements_(value_allocator_type(alloc))
   53|  7.47k|        {
   54|  7.47k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  215|  1.16k|        {
  216|  1.16k|            elements_.emplace_back(std::forward<Args>(args)...);
  217|  1.16k|            return elements_.back();
  218|  1.16k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  151|  37.7k|        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|  7.35M|        {
  177|  7.35M|            elements_.emplace_back(std::forward<T>(value));
  178|  7.35M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   47|  5.77M|        {
   48|  5.77M|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|    457|        : allocator_(alloc),
   75|    457|          result_(),
   76|    457|          name_(alloc),
   77|    457|          item_stack_(alloc),
   78|    457|          structure_stack_(temp_alloc)
   79|    457|    {
   80|    457|        item_stack_.reserve(1000);
   81|    457|        structure_stack_.reserve(100);
   82|    457|        structure_stack_.emplace_back(structure_type::root_t, 0);
   83|    457|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   51|  11.0M|            : type_(type), container_index_(offset)
   52|  11.0M|        {
   53|  11.0M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  179|  5.75M|    {
  180|  5.75M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   45|  5.75M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 5.75M]
  |  |  ------------------
  |  |   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|  5.75M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |   45|  5.75M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 5.75M]
  |  |  ------------------
  |  |   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|  5.75M|        const size_t container_index = structure_stack_.back().container_index_;
  183|  5.75M|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |   45|  5.75M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 5.75M]
  |  |  ------------------
  |  |   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|  5.75M|        auto& container = item_stack_[container_index].value;
  186|       |
  187|  5.75M|        const size_t size = item_stack_.size() - (container_index + 1);
  188|       |        //std::cout << "size on item stack: " << size << "\n";
  189|       |
  190|  5.75M|        if (size > 0)
  ------------------
  |  Branch (190:13): [True: 37.7k, False: 5.71M]
  ------------------
  191|  37.7k|        {
  192|  37.7k|            container.reserve(size);
  193|  37.7k|            auto first = item_stack_.begin() + (container_index+1);
  194|  37.7k|            auto last = first + size;
  195|  7.39M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (195:35): [True: 7.35M, False: 37.7k]
  ------------------
  196|  7.35M|            {
  197|  7.35M|                container.push_back(std::move((*it).value));
  198|  7.35M|            }
  199|  37.7k|            item_stack_.erase(first, item_stack_.end());
  200|  37.7k|        }
  201|       |
  202|  5.75M|        structure_stack_.pop_back();
  203|  5.75M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (203:13): [True: 33, False: 5.75M]
  ------------------
  204|     33|        {
  205|     33|            result_.swap(item_stack_.front().value);
  206|     33|            item_stack_.pop_back();
  207|     33|            is_valid_ = true;
  208|     33|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     33|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  209|     33|        }
  210|  5.75M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.75M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  211|  5.75M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  296|  2.03M|    {
  297|  2.03M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (297:17): [True: 2.03M, False: 0]
  ------------------
  298|  2.03M|        {
  299|  3.86k|            case structure_type::object_t:
  ------------------
  |  Branch (299:13): [True: 3.86k, False: 2.02M]
  ------------------
  300|  2.03M|            case structure_type::array_t:
  ------------------
  |  Branch (300:13): [True: 2.02M, False: 3.86k]
  ------------------
  301|  2.03M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  302|  2.03M|                break;
  303|      0|            case structure_type::root_t:
  ------------------
  |  Branch (303:13): [True: 0, False: 2.03M]
  ------------------
  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|  2.03M|        }
  308|  2.03M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.03M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  309|  2.03M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  277|  2.31M|    {
  278|  2.31M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (278:17): [True: 2.31M, False: 0]
  ------------------
  279|  2.31M|        {
  280|  8.93k|            case structure_type::object_t:
  ------------------
  |  Branch (280:13): [True: 8.93k, False: 2.31M]
  ------------------
  281|  2.31M|            case structure_type::array_t:
  ------------------
  |  Branch (281:13): [True: 2.31M, False: 8.93k]
  ------------------
  282|  2.31M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  283|  2.31M|                break;
  284|      0|            case structure_type::root_t:
  ------------------
  |  Branch (284:13): [True: 0, False: 2.31M]
  ------------------
  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|  2.31M|        }
  289|  2.31M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|  2.31M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  334|   203k|    {
  335|   203k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (335:17): [True: 203k, False: 0]
  ------------------
  336|   203k|        {
  337|    638|            case structure_type::object_t:
  ------------------
  |  Branch (337:13): [True: 638, False: 202k]
  ------------------
  338|   203k|            case structure_type::array_t:
  ------------------
  |  Branch (338:13): [True: 202k, False: 638]
  ------------------
  339|   203k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  340|   203k|                break;
  341|      0|            case structure_type::root_t:
  ------------------
  |  Branch (341:13): [True: 0, False: 203k]
  ------------------
  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|   203k|        }
  346|   203k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   203k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|   203k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|    129|    {
  123|    129|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  5.31M|    {
  127|  5.31M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (127:13): [True: 130, False: 5.31M]
  ------------------
  128|    130|        {
  129|    130|            index_ = 0;
  130|    130|            item_stack_.clear();
  131|    130|            is_valid_ = false;
  132|    130|        }
  133|  5.31M|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  134|  5.31M|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  135|  5.31M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  136|  5.31M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  139|  5.30M|    {
  140|  5.30M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   45|  5.30M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 5.30M]
  |  |  ------------------
  |  |   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|  5.30M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |   45|  5.30M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 5.30M]
  |  |  ------------------
  |  |   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|  5.30M|        const size_t structure_index = structure_stack_.back().container_index_;
  143|  5.30M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   45|  5.30M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 5.30M]
  |  |  ------------------
  |  |   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|  5.30M|        const size_t count = item_stack_.size() - (structure_index + 1);
  145|  5.30M|        auto first = item_stack_.begin() + (structure_index+1);
  146|       |
  147|  5.30M|        if (count > 0)
  ------------------
  |  Branch (147:13): [True: 9.57k, False: 5.29M]
  ------------------
  148|  9.57k|        {
  149|  9.57k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  150|  9.57k|                &item_stack_[structure_index+1], count);
  151|  9.57k|        }
  152|       |
  153|  5.30M|        item_stack_.erase(first, item_stack_.end());
  154|  5.30M|        structure_stack_.pop_back();
  155|  5.30M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (155:13): [True: 88, False: 5.30M]
  ------------------
  156|     88|        {
  157|     88|            result_.swap(item_stack_.front().value);
  158|     88|            item_stack_.pop_back();
  159|     88|            is_valid_ = true;
  160|     88|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     88|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  161|     88|        }
  162|  5.30M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.30M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  163|  5.30M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  166|  5.77M|    {
  167|  5.77M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (167:13): [True: 293, False: 5.77M]
  ------------------
  168|    293|        {
  169|    293|            index_ = 0;
  170|    293|            item_stack_.clear();
  171|    293|            is_valid_ = false;
  172|    293|        }
  173|  5.77M|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  174|  5.77M|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  175|  5.77M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  176|  5.77M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  214|  4.46M|    {
  215|  4.46M|        name_ = key_type(name.data(),name.length(),allocator_);
  216|  4.46M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.46M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  4.46M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|  12.9M|    {
  367|  12.9M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 12.9M, False: 0]
  ------------------
  368|  12.9M|        {
  369|  4.28M|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 4.28M, False: 8.63M]
  ------------------
  370|  12.9M|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 8.63M, False: 4.28M]
  ------------------
  371|  12.9M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  372|  12.9M|                break;
  373|      0|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 0, False: 12.9M]
  ------------------
  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|  12.9M|        }
  378|  12.9M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  12.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  379|  12.9M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|  4.40M|    {
  351|  4.40M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 4.40M, False: 0]
  ------------------
  352|  4.40M|        {
  353|   120k|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 120k, False: 4.28M]
  ------------------
  354|  4.40M|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 4.28M, False: 120k]
  ------------------
  355|  4.40M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|  4.40M|                break;
  357|      0|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 0, False: 4.40M]
  ------------------
  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|  4.40M|        }
  362|  4.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  363|  4.40M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  220|  3.61M|    {
  221|  3.61M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (221:17): [True: 3.61M, False: 0]
  ------------------
  222|  3.61M|        {
  223|  4.63k|            case structure_type::object_t:
  ------------------
  |  Branch (223:13): [True: 4.63k, False: 3.60M]
  ------------------
  224|  3.61M|            case structure_type::array_t:
  ------------------
  |  Branch (224:13): [True: 3.60M, False: 4.64k]
  ------------------
  225|  3.61M|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  226|  3.61M|                break;
  227|      8|            case structure_type::root_t:
  ------------------
  |  Branch (227:13): [True: 8, False: 3.61M]
  ------------------
  228|      8|                result_ = Json(sv, tag, allocator_);
  229|      8|                is_valid_ = true;
  230|      8|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      8|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  231|  3.61M|        }
  232|  3.61M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  233|  3.61M|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|    129|    {
  109|    129|        return is_valid_;
  110|    129|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|    129|    {
  114|    129|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   45|    129|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 129]
  |  |  ------------------
  |  |   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|    129|        is_valid_ = false;
  116|    129|        return std::move(result_);
  117|    129|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|    457|{
 1065|    457|    return json_visitor_adaptor<From, To>(to);
 1066|    457|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|    457|        : supertype(visitor)
  984|    457|    {
  985|    457|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|    457|        : destination1_(std::addressof(visitor))
  722|    457|    {
  723|    457|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  26.1k|    {
  778|  26.1k|        destination1_->begin_array(length, tag, context, ec);
  779|  26.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  26.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  26.1k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  5.75M|    {
  784|  5.75M|        destination1_->end_array(context, ec);
  785|  5.75M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.75M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  5.75M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  2.03M|    {
  826|  2.03M|        destination1_->uint64_value(value, tag, context, ec);
  827|  2.03M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.03M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  2.03M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  2.31M|    {
  820|  2.31M|        destination1_->int64_value(value, tag, context, ec);
  821|  2.31M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  2.31M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|   203k|    {
  814|   203k|        destination1_->double_value(value, tag, context, ec);
  815|   203k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   203k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|   203k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|    129|    {
  739|    129|        destination1_->flush();
  740|    129|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  5.27M|    {
  746|  5.27M|        destination1_->begin_object(tag, context, ec);
  747|  5.27M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  5.27M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  32.1k|    {
  755|  32.1k|        destination1_->begin_object(length, tag, context, ec);
  756|  32.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  32.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  32.1k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  5.30M|    {
  761|  5.30M|        destination1_->end_object(context, ec);
  762|  5.30M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.30M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  5.30M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  5.74M|    {
  769|  5.74M|        destination1_->begin_array(tag, context, ec);
  770|  5.74M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.74M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  5.74M|    }
_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|  4.46M|    {
  996|  4.46M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  4.46M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  8.08M|    {
  733|  8.08M|        return *destination1_;
  734|  8.08M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  12.9M|    {
  838|  12.9M|        destination1_->null_value(tag, context, ec);
  839|  12.9M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  12.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  12.9M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  4.40M|    {
  832|  4.40M|        destination1_->bool_value(value, tag, context, ec);
  833|  4.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  4.40M|    }
_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|  3.61M|    {
 1004|  3.61M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  3.61M|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  432|  3.57k|        {
  433|  3.57k|            return members_.empty();
  434|  3.57k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  465|  26.9k|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  442|  26.9k|        {
  443|  26.9k|            return members_.begin();
  444|  26.9k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  447|  26.9k|        {
  448|  26.9k|            return members_.end();
  449|  26.9k|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  46.6k|        {
  121|  46.6k|            return value_;
  122|  46.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  427|  5.31M|        {
  428|  5.31M|            flatten_and_destroy();
  429|  5.31M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  986|  5.31M|        {
  987|  5.31M|            if (!members_.empty())
  ------------------
  |  Branch (987:17): [True: 7.47k, False: 5.30M]
  ------------------
  988|  7.47k|            {
  989|  7.47k|                json_array<Json> temp(get_allocator());
  990|       |
  991|  7.47k|                for (auto& kv : members_)
  ------------------
  |  Branch (991:31): [True: 30.6k, False: 7.47k]
  ------------------
  992|  30.6k|                {
  993|  30.6k|                    switch (kv.value().storage_kind())
  994|  30.6k|                    {
  995|  2.61k|                        case json_storage_kind::array:
  ------------------
  |  Branch (995:25): [True: 2.61k, False: 28.0k]
  ------------------
  996|  3.89k|                        case json_storage_kind::object:
  ------------------
  |  Branch (996:25): [True: 1.27k, False: 29.3k]
  ------------------
  997|  3.89k|                            if (!kv.value().empty())
  ------------------
  |  Branch (997:33): [True: 1.16k, False: 2.72k]
  ------------------
  998|  1.16k|                            {
  999|  1.16k|                                temp.emplace_back(std::move(kv.value()));
 1000|  1.16k|                            }
 1001|  3.89k|                            break;
 1002|  26.7k|                        default:
  ------------------
  |  Branch (1002:25): [True: 26.7k, False: 3.89k]
  ------------------
 1003|  26.7k|                            break;
 1004|  30.6k|                    }
 1005|  30.6k|                }
 1006|  7.47k|            }
 1007|  5.31M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  67.6M|        index_key_value(index_key_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
  334|  5.31M|        {
  335|  5.31M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  20.6M|        index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.03M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.03M|        {
   45|  2.03M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.31M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.31M|        {
   45|  2.31M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   203k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   203k|        {
   45|   203k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  5.31M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  5.31M|        {
   45|  5.31M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  539|  9.57k|        {
  540|  9.57k|            if (count > 0)
  ------------------
  |  Branch (540:17): [True: 9.57k, False: 0]
  ------------------
  541|  9.57k|            {
  542|  9.57k|                members_.reserve(count);
  543|       |
  544|  9.57k|                std::sort(items, items+count, compare);
  545|  9.57k|                members_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  546|       |                
  547|  4.40M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (547:41): [True: 4.39M, False: 9.57k]
  ------------------
  548|  4.39M|                {
  549|  4.39M|                    auto& item = items[i];
  550|  4.39M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (550:25): [True: 26.3k, False: 4.36M]
  ------------------
  551|  26.3k|                    {
  552|  26.3k|                        members_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  553|  26.3k|                    }
  554|  4.39M|                }
  555|  9.57k|            }
  556|  9.57k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  530|   101M|        {
  531|   101M|            int comp = item1.name.compare(item2.name); 
  532|   101M|            if (comp < 0) return true;
  ------------------
  |  Branch (532:17): [True: 741k, False: 100M]
  ------------------
  533|   100M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (533:17): [True: 100M, False: 155k]
  ------------------
  534|       |
  535|   155k|            return false;
  536|   100M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  35.9k|            : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  35.9k|        {
   88|  35.9k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  5.77M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  5.77M|        {
   45|  5.77M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  12.9M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  12.9M|        {
   45|  12.9M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.40M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.40M|        {
   45|  4.40M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  3.61M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.61M|        {
   45|  3.61M|        }

_ZN8jsoncons18is_trivial_storageENS_17json_storage_kindE:
  210|   128M|    {
  211|   128M|        static const uint8_t mask{ uint8_t(json_storage_kind::long_str) & uint8_t(json_storage_kind::byte_str) 
  212|   128M|            & uint8_t(json_storage_kind::array) & uint8_t(json_storage_kind::object) };
  213|   128M|        return (uint8_t(storage_kind) & mask) != mask;
  214|   128M|    }

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|    914|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|    914|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  26.1k|        {
  561|  26.1k|            visit_begin_array(tag, context, ec);
  562|  26.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  26.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  26.1k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  32.1k|        {
  545|  32.1k|            visit_begin_object(tag, context, ec);
  546|  32.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  32.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  32.1k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  52.3k|        {
  346|  52.3k|            visit_begin_array(length, tag, context, ec);
  347|  52.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  52.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  52.3k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  4.06M|        {
  415|  4.06M|            visit_uint64(value, tag, context, ec);
  416|  4.06M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  4.06M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  11.5M|        {
  352|  11.5M|            visit_end_array(context, ec);
  353|  11.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  11.5M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  4.63M|        {
  424|  4.63M|            visit_int64(value, tag, context, ec);
  425|  4.63M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.63M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  4.63M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|   407k|        {
  442|   407k|            visit_double(value, tag, context, ec);
  443|   407k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   407k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|   407k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|    258|        {
  109|    258|            visit_flush();
  110|    258|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  10.5M|        {
  319|  10.5M|            visit_begin_object(tag, context, ec);
  320|  10.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  10.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  10.5M|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  64.2k|        {
  328|  64.2k|            visit_begin_object(length, tag, context, ec);
  329|  64.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  64.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  64.2k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  10.6M|        {
  334|  10.6M|            visit_end_object(context, ec);
  335|  10.6M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  10.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  10.6M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  11.4M|        {
  340|  11.4M|            visit_begin_array(tag, context, ec);
  341|  11.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  11.4M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  8.93M|        {
  358|  8.93M|            visit_key(name, context, ec);
  359|  8.93M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.93M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  8.93M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  25.8M|        {
  366|  25.8M|            visit_null(tag, context, ec);
  367|  25.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  25.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  25.8M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  8.81M|        {
  375|  8.81M|            visit_bool(value, tag, context, ec);
  376|  8.81M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.81M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  8.81M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  7.22M|        {
  384|  7.22M|            visit_string(value, tag, context, ec);
  385|  7.22M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.22M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  7.22M|        }

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

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  171|    457|            : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  172|    457|              buffer_size_(default_max_buffer_size)
  173|    457|        {
  174|    457|            buffer_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, buffer_size_);
  175|    457|            data_ = buffer_;
  176|    457|        }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   54|    457|          : std::basic_istream<CharT>(&nb_)
   55|    457|        {
   56|    457|        }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   40|    457|            null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  188|    457|        {
  189|    457|            if (buffer_)
  ------------------
  |  Branch (189:17): [True: 457, False: 0]
  ------------------
  190|    457|            {
  191|    457|                std::allocator_traits<char_allocator_type>::deallocate(alloc_, buffer_, buffer_size_);
  192|    457|            }
  193|    457|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|    328|        {
  282|    328|            return position_;
  283|    328|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  15.3M|        {
  277|  15.3M|            return stream_ptr_->bad();  
  278|  15.3M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  343|  53.9M|        {
  344|  53.9M|            std::size_t len = 0;
  345|  53.9M|            if (length_ > 0)
  ------------------
  |  Branch (345:17): [True: 53.8M, False: 2.85k]
  ------------------
  346|  53.8M|            {
  347|  53.8M|                len = (std::min)(length_, length);
  348|  53.8M|                std::memcpy(p, data_, len*sizeof(value_type));
  349|  53.8M|                data_ += len;
  350|  53.8M|                length_ -= len;
  351|  53.8M|                position_ += len;
  352|  53.8M|            }
  353|  53.9M|            if (length - len == 0)
  ------------------
  |  Branch (353:17): [True: 53.8M, False: 2.87k]
  ------------------
  354|  53.8M|            {
  355|  53.8M|                return len;
  356|  53.8M|            }
  357|  2.87k|            else if (length - len < buffer_size_)
  ------------------
  |  Branch (357:22): [True: 2.87k, False: 0]
  ------------------
  358|  2.87k|            {
  359|  2.87k|                fill_buffer();
  360|  2.87k|                if (length_ > 0)
  ------------------
  |  Branch (360:21): [True: 2.75k, False: 113]
  ------------------
  361|  2.75k|                {
  362|  2.75k|                    std::size_t len2 = (std::min)(length_, length-len);
  363|  2.75k|                    std::memcpy(p+len, data_, len2*sizeof(value_type));
  364|  2.75k|                    data_ += len2;
  365|  2.75k|                    length_ -= len2;
  366|  2.75k|                    position_ += len2;
  367|  2.75k|                    len += len2;
  368|  2.75k|                }
  369|  2.87k|                return len;
  370|  2.87k|            }
  371|      0|            else
  372|      0|            {
  373|      0|                if (stream_ptr_->eof())
  ------------------
  |  Branch (373:21): [True: 0, False: 0]
  ------------------
  374|      0|                {
  375|      0|                    length_ = 0;
  376|      0|                    return 0;
  377|      0|                }
  378|      0|                JSONCONS_TRY
  ------------------
  |  |   37|      0|    #define JSONCONS_TRY try
  ------------------
  379|      0|                {
  380|      0|                    std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  381|      0|                    std::size_t len2 = static_cast<std::size_t>(count);
  382|      0|                    if (len2 < length-len)
  ------------------
  |  Branch (382:25): [True: 0, False: 0]
  ------------------
  383|      0|                    {
  384|      0|                        stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  385|      0|                    }
  386|      0|                    len += len2;
  387|      0|                    position_ += len2;
  388|      0|                    return len;
  389|      0|                }
  390|      0|                JSONCONS_CATCH(const std::exception&)     
  391|      0|                {
  392|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  393|      0|                    return 0;
  394|      0|                }
  395|      0|            }
  396|  53.9M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEv:
  399|  4.47k|        {
  400|  4.47k|            if (stream_ptr_->eof())
  ------------------
  |  Branch (400:17): [True: 173, False: 4.30k]
  ------------------
  401|    173|            {
  402|    173|                length_ = 0;
  403|    173|                return;
  404|    173|            }
  405|       |
  406|  4.30k|            data_ = buffer_;
  407|  4.30k|            JSONCONS_TRY
  ------------------
  |  |   37|  4.30k|    #define JSONCONS_TRY try
  ------------------
  408|  4.30k|            {
  409|  4.30k|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(buffer_), buffer_size_);
  410|  4.30k|                length_ = static_cast<std::size_t>(count);
  411|       |
  412|  4.30k|                if (length_ < buffer_size_)
  ------------------
  |  Branch (412:21): [True: 433, False: 3.87k]
  ------------------
  413|    433|                {
  414|    433|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  415|    433|                }
  416|  4.30k|            }
  417|  4.30k|            JSONCONS_CATCH(const std::exception&)     
  418|  4.30k|            {
  419|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  420|      0|                length_ = 0;
  421|      0|            }
  422|  4.30k|        }
_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|  8.08M|        {
  883|  8.08M|            std::size_t unread = length;
  884|       |
  885|  8.08M|            std::size_t n = (std::min)(max_buffer_length, unread);
  886|  11.8M|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (886:20): [True: 3.76M, False: 8.08M]
  |  Branch (886:29): [True: 3.76M, False: 59]
  ------------------
  887|  3.76M|            {
  888|  3.76M|                v.reserve(v.size()+n);
  889|  3.76M|                std::size_t actual = 0;
  890|  28.6M|                while (actual < n)
  ------------------
  |  Branch (890:24): [True: 24.8M, False: 3.76M]
  ------------------
  891|  24.8M|                {
  892|  24.8M|                    typename Source::value_type c{};
  893|  24.8M|                    if (source.read(&c,1) != 1)
  ------------------
  |  Branch (893:25): [True: 45, False: 24.8M]
  ------------------
  894|     45|                    {
  895|     45|                        break;
  896|     45|                    }
  897|  24.8M|                    v.push_back(c);
  898|  24.8M|                    ++actual;
  899|  24.8M|                }
  900|  3.76M|                unread -= actual;
  901|  3.76M|                n = (std::min)(max_buffer_length, unread);
  902|  3.76M|            }
  903|       |
  904|  8.08M|            return length - unread;
  905|  8.08M|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  3.76M|        {
  272|  3.76M|            return length_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:20): [True: 277, False: 3.76M]
  |  Branch (272:36): [True: 59, False: 218]
  ------------------
  273|  3.76M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4peekEv:
  311|  42.7M|        {
  312|  42.7M|            if (length_ == 0)
  ------------------
  |  Branch (312:17): [True: 1.60k, False: 42.7M]
  ------------------
  313|  1.60k|            {
  314|  1.60k|                fill_buffer();
  315|  1.60k|            }
  316|  42.7M|            if (length_ > 0)
  ------------------
  |  Branch (316:17): [True: 42.7M, False: 85]
  ------------------
  317|  42.7M|            {
  318|  42.7M|                value_type c = *data_;
  319|  42.7M|                return char_result<value_type>{c, false};
  320|  42.7M|            }
  321|     85|            else
  322|     85|            {
  323|     85|                return char_result<value_type>{0, true};
  324|     85|            }
  325|  42.7M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE6ignoreEm:
  286|  11.1M|        {
  287|  11.1M|            std::size_t len = 0;
  288|  11.1M|            if (length_ > 0)
  ------------------
  |  Branch (288:17): [True: 11.1M, False: 0]
  ------------------
  289|  11.1M|            {
  290|  11.1M|                len = (std::min)(length_, length);
  291|  11.1M|                position_ += len;
  292|  11.1M|                data_ += len;
  293|  11.1M|                length_ -= len;
  294|  11.1M|            }
  295|  11.1M|            while (len < length)
  ------------------
  |  Branch (295:20): [True: 0, False: 11.1M]
  ------------------
  296|      0|            {
  297|      0|                fill_buffer();
  298|      0|                if (length_ == 0)
  ------------------
  |  Branch (298:21): [True: 0, False: 0]
  ------------------
  299|      0|                {
  300|      0|                    break;
  301|      0|                }
  302|      0|                std::size_t len2 = (std::min)(length_, length-len);
  303|      0|                position_ += len2;
  304|      0|                data_ += len2;
  305|      0|                length_ -= len2;
  306|      0|                len += len2;
  307|      0|            }
  308|  11.1M|        }

_ZN8jsoncons6binary13big_to_nativeIaNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  2.49M|    {
  183|  2.49M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 2.49M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  2.49M|        T val;
  188|  2.49M|        std::memcpy(&val,first,sizeof(T));
  189|  2.49M|        return byte_swap(val);
  190|  2.49M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  2.49M|    {
   22|  2.49M|        return val;
   23|  2.49M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  6.58k|    {
  183|  6.58k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 6.58k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  6.58k|        T val;
  188|  6.58k|        std::memcpy(&val,first,sizeof(T));
  189|  6.58k|        return byte_swap(val);
  190|  6.58k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  6.58k|    {
   29|  6.58k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  6.58k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  6.58k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|  6.58k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  7.36k|    {
  183|  7.36k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 7.36k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  7.36k|        T val;
  188|  7.36k|        std::memcpy(&val,first,sizeof(T));
  189|  7.36k|        return byte_swap(val);
  190|  7.36k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  7.36k|    {
   40|  7.36k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  7.36k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  7.36k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  7.36k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  6.46k|    {
  183|  6.46k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 6.46k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  6.46k|        T val;
  188|  6.46k|        std::memcpy(&val,first,sizeof(T));
  189|  6.46k|        return byte_swap(val);
  190|  6.46k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  6.46k|    {
   52|  6.46k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  6.46k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  6.46k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  6.46k|    }
_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   202k|    {
  183|   202k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 202k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   202k|        T val;
  188|   202k|        std::memcpy(&val,first,sizeof(T));
  189|   202k|        return byte_swap(val);
  190|   202k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   202k|    {
   65|   202k|        uint32_t x;
   66|   202k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   202k|        uint32_t y = byte_swap(x);
   68|   202k|        T val2;
   69|   202k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   202k|        return val2;
   71|   202k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   202k|    {
   40|   202k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   202k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   202k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|   202k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.13k|    {
  183|  1.13k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.13k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.13k|        T val;
  188|  1.13k|        std::memcpy(&val,first,sizeof(T));
  189|  1.13k|        return byte_swap(val);
  190|  1.13k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  1.13k|    {
   77|  1.13k|        uint64_t x;
   78|  1.13k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  1.13k|        uint64_t y = byte_swap(x);
   80|  1.13k|        T val2;
   81|  1.13k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  1.13k|        return val2;
   83|  1.13k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  1.13k|    {
   52|  1.13k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  1.13k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  1.13k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  1.13k|    }

_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIcS2_S5_EE:
  169|  1.98k|    {
  170|  1.98k|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 1.98k, False: 0]
  ------------------
  171|  1.98k|        {
  172|  1.98k|            heap_string_type* rawp = ext_traits::to_plain_pointer(ptr);
  173|       |
  174|  1.98k|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|  1.98k|            char* p = q - ptr->offset_;
  177|       |
  178|  1.98k|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|  1.98k|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|  1.98k|            byte_alloc.deallocate(p,mem_size);
  181|  1.98k|        }
  182|  1.98k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE12aligned_sizeEm:
  119|  3.97k|    {
  120|  3.97k|        return sizeof(storage_type) + n;
  121|  3.97k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEE13get_allocatorEv:
   35|  1.98k|    {
   36|  1.98k|        return alloc_;
   37|  1.98k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE6createEPKcmS2_RKS5_:
  126|  1.98k|    {
  127|  1.98k|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|  1.98k|        std::size_t align = alignof(storage_type);
  130|  1.98k|        char* q = nullptr;
  131|  1.98k|        char* storage = nullptr;
  132|  1.98k|        byte_allocator_type byte_alloc(alloc);
  133|  1.98k|        uint8_t align_pad = 0;
  134|       |
  135|  1.98k|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 1.98k, False: 0]
  ------------------
  136|  1.98k|            byte_pointer ptr = byte_alloc.allocate(len);
  137|  1.98k|            q = ext_traits::to_plain_pointer(ptr);
  138|       |
  139|  1.98k|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 1.98k, False: 0]
  ------------------
  140|  1.98k|                storage = q;
  141|  1.98k|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|  1.98k|        }
  145|       |
  146|  1.98k|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 1.98k]
  ------------------
  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|  1.98k|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|  1.98k|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|  1.98k|        CharT* p = new(&psa->c)char_type[length + 1];
  159|  1.98k|        std::memcpy(p, s, length*sizeof(char_type));
  160|  1.98k|        p[length] = 0;
  161|  1.98k|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|  1.98k|        ps->length_ = length;
  163|  1.98k|        ps->offset_ = (uint8_t)(storage - q);
  164|  1.98k|        ps->align_pad_ = align_pad;
  165|  1.98k|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|  1.98k|    }
_ZN8jsoncons4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEC2ES2_RKS5_:
   69|  1.98k|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|  1.98k|    {
   71|  1.98k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEEC2ERKS2_RKS5_:
   45|  1.98k|        : extra_(extra), alloc_(alloc)
   46|  1.98k|    {
   47|  1.98k|    }

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  1.98k|    {       
  242|  1.98k|        return (ptr);
  243|  1.98k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  11.5M|    {       
  242|  11.5M|        return (ptr);
  243|  11.5M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  10.6M|    {       
  242|  10.6M|        return (ptr);
  243|  10.6M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  1.98k|    {       
  242|  1.98k|        return (ptr);
  243|  1.98k|    }  

_ZN8jsoncons9is_base10IcEEbPKT_m:
  164|  1.81k|{
  165|  1.81k|    integer_chars_state state = integer_chars_state::initial;
  166|       |
  167|  1.81k|    const CharT* end = s + length; 
  168|  3.82k|    for (;s < end; ++s)
  ------------------
  |  Branch (168:11): [True: 3.73k, False: 85]
  ------------------
  169|  3.73k|    {
  170|  3.73k|        switch(state)
  171|  3.73k|        {
  172|  1.75k|            case integer_chars_state::initial:
  ------------------
  |  Branch (172:13): [True: 1.75k, False: 1.98k]
  ------------------
  173|  1.75k|            {
  174|  1.75k|                switch(*s)
  175|  1.75k|                {
  176|  1.39k|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (176:21): [True: 258, False: 1.49k]
  |  Branch (176:30): [True: 212, False: 1.54k]
  |  Branch (176:39): [True: 58, False: 1.69k]
  |  Branch (176:48): [True: 166, False: 1.59k]
  |  Branch (176:57): [True: 58, False: 1.69k]
  |  Branch (176:66): [True: 4, False: 1.75k]
  |  Branch (176:75): [True: 161, False: 1.59k]
  |  Branch (176:84): [True: 326, False: 1.43k]
  |  Branch (176:93): [True: 145, False: 1.61k]
  |  Branch (176:103): [True: 2, False: 1.75k]
  ------------------
  177|  1.39k|                        state = integer_chars_state::decimal;
  178|  1.39k|                        break;
  179|     36|                    case '-':
  ------------------
  |  Branch (179:21): [True: 36, False: 1.72k]
  ------------------
  180|     36|                        state = integer_chars_state::minus;
  181|     36|                        break;
  182|    331|                    default:
  ------------------
  |  Branch (182:21): [True: 331, False: 1.42k]
  ------------------
  183|    331|                        return false;
  184|  1.75k|                }
  185|  1.42k|                break;
  186|  1.75k|            }
  187|  1.42k|            case integer_chars_state::minus:
  ------------------
  |  Branch (187:13): [True: 36, False: 3.70k]
  ------------------
  188|     36|            {
  189|     36|                switch(*s)
  190|     36|                {
  191|     28|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (191:21): [True: 4, False: 32]
  |  Branch (191:30): [True: 23, False: 13]
  |  Branch (191:39): [True: 1, False: 35]
  |  Branch (191:48): [True: 0, False: 36]
  |  Branch (191:57): [True: 0, False: 36]
  |  Branch (191:66): [True: 0, False: 36]
  |  Branch (191:75): [True: 0, False: 36]
  |  Branch (191:84): [True: 0, False: 36]
  |  Branch (191:93): [True: 0, False: 36]
  |  Branch (191:103): [True: 0, False: 36]
  ------------------
  192|     28|                        state = integer_chars_state::decimal;
  193|     28|                        break;
  194|      8|                    default:
  ------------------
  |  Branch (194:21): [True: 8, False: 28]
  ------------------
  195|      8|                        return false;
  196|     36|                }
  197|     28|                break;
  198|     36|            }
  199|  1.94k|            case integer_chars_state::decimal:
  ------------------
  |  Branch (199:13): [True: 1.94k, False: 1.79k]
  ------------------
  200|  1.94k|            {
  201|  1.94k|                switch(*s)
  202|  1.94k|                {
  203|    557|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (203:21): [True: 159, False: 1.78k]
  |  Branch (203:30): [True: 4, False: 1.94k]
  |  Branch (203:39): [True: 0, False: 1.94k]
  |  Branch (203:48): [True: 0, False: 1.94k]
  |  Branch (203:57): [True: 0, False: 1.94k]
  |  Branch (203:66): [True: 3, False: 1.94k]
  |  Branch (203:75): [True: 218, False: 1.72k]
  |  Branch (203:84): [True: 0, False: 1.94k]
  |  Branch (203:93): [True: 165, False: 1.78k]
  |  Branch (203:103): [True: 8, False: 1.93k]
  ------------------
  204|    557|                        break;
  205|  1.38k|                    default:
  ------------------
  |  Branch (205:21): [True: 1.38k, False: 557]
  ------------------
  206|  1.38k|                        return false;
  207|  1.94k|                }
  208|    557|                break;
  209|  1.94k|            }
  210|    557|            default:
  ------------------
  |  Branch (210:13): [True: 0, False: 3.73k]
  ------------------
  211|      0|                break;
  212|  3.73k|        }
  213|  3.73k|    }
  214|     85|    return state == integer_chars_state::decimal ? true : false;
  ------------------
  |  Branch (214:12): [True: 29, False: 56]
  ------------------
  215|  1.81k|}

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1134|  8.08M|    {
 1135|  8.08M|        conv_errc  result = conv_errc();
 1136|  8.08M|        const CharT* last = data + length;
 1137|  20.2M|        while (data != last) 
  ------------------
  |  Branch (1137:16): [True: 12.1M, False: 8.08M]
  ------------------
 1138|  12.1M|        {
 1139|  12.1M|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1140|  12.1M|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1140:17): [True: 3, False: 12.1M]
  ------------------
 1141|      3|            {
 1142|      3|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1143|      3|            }
 1144|  12.1M|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1144:17): [True: 17, False: 12.1M]
  ------------------
 1145|     17|            {
 1146|     17|                return convert_result<CharT>{data,result} ;
 1147|     17|            }
 1148|  12.1M|            data += len;
 1149|  12.1M|        }
 1150|  8.08M|        return convert_result<CharT>{data,result} ;
 1151|  8.08M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  303|  12.1M|    {
  304|  12.1M|        uint8_t a;
  305|  12.1M|        const CharT* srcptr = first+length;
  306|  12.1M|        switch (length) {
  307|      5|        default:
  ------------------
  |  Branch (307:9): [True: 5, False: 12.1M]
  ------------------
  308|      5|            return conv_errc::over_long_utf8_sequence;
  309|  1.32k|        case 4:
  ------------------
  |  Branch (309:9): [True: 1.32k, False: 12.1M]
  ------------------
  310|  1.32k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (310:17): [True: 5, False: 1.31k]
  ------------------
  311|      5|                return conv_errc::expected_continuation_byte;
  312|  1.31k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.31k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  313|  1.71k|        case 3:
  ------------------
  |  Branch (313:9): [True: 399, False: 12.1M]
  ------------------
  314|  1.71k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 2, False: 1.71k]
  ------------------
  315|      2|                return conv_errc::expected_continuation_byte;
  316|  1.71k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.71k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  2.26k|        case 2:
  ------------------
  |  Branch (317:9): [True: 550, False: 12.1M]
  ------------------
  318|  2.26k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 2, False: 2.26k]
  ------------------
  319|      2|                return conv_errc::expected_continuation_byte;
  320|       |
  321|  2.26k|            switch (static_cast<uint8_t>(*first)) 
  322|  2.26k|            {
  323|       |                // no fall-through in this inner switch
  324|     53|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (324:17): [True: 53, False: 2.20k]
  |  Branch (324:32): [True: 0, False: 53]
  ------------------
  325|     53|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (325:17): [True: 11, False: 2.25k]
  |  Branch (325:32): [True: 0, False: 11]
  ------------------
  326|    403|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (326:17): [True: 403, False: 1.85k]
  |  Branch (326:32): [True: 0, False: 403]
  ------------------
  327|    698|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (327:17): [True: 698, False: 1.56k]
  |  Branch (327:32): [True: 0, False: 698]
  ------------------
  328|  1.09k|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (328:17): [True: 1.09k, False: 1.16k]
  |  Branch (328:32): [True: 0, False: 1.09k]
  ------------------
  329|  2.26k|            }
  330|       |
  331|  2.26k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  2.26k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  332|  12.1M|        case 1:
  ------------------
  |  Branch (332:9): [True: 12.1M, False: 2.27k]
  ------------------
  333|  12.1M|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (333:17): [True: 2.26k, False: 12.1M]
  |  Branch (333:57): [True: 3, False: 2.26k]
  ------------------
  334|      3|                return conv_errc::source_illegal;
  335|  12.1M|            break;
  336|  12.1M|        }
  337|  12.1M|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (337:13): [True: 0, False: 12.1M]
  ------------------
  338|      0|            return conv_errc::source_illegal;
  339|       |
  340|  12.1M|        return conv_errc();
  341|  12.1M|    }

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

_ZN8jsoncons6ubjson15make_error_codeENS0_11ubjson_errcE:
   90|    362|{
   91|    362|    return std::error_code(static_cast<int>(e),ubjson_error_category());
   92|    362|}
_ZN8jsoncons6ubjson21ubjson_error_categoryEv:
   83|    362|{
   84|    362|  static ubjson_error_category_impl instance;
   85|    362|  return instance;
   86|    362|}
_ZNK8jsoncons6ubjson26ubjson_error_category_impl7messageEi:
   46|    328|    {
   47|    328|        switch (static_cast<ubjson_errc>(ev))
   48|    328|        {
   49|    211|            case ubjson_errc::unexpected_eof:
  ------------------
  |  Branch (49:13): [True: 211, False: 117]
  ------------------
   50|    211|                return "Unexpected end of file";
   51|      0|            case ubjson_errc::source_error:
  ------------------
  |  Branch (51:13): [True: 0, False: 328]
  ------------------
   52|      0|                return "Source error";
   53|      0|            case ubjson_errc::count_required_after_type:
  ------------------
  |  Branch (53:13): [True: 0, False: 328]
  ------------------
   54|      0|                return "Type is specified for container, but count is not specified";
   55|      1|            case ubjson_errc::length_is_negative:
  ------------------
  |  Branch (55:13): [True: 1, False: 327]
  ------------------
   56|      1|                return "Request for the length of an array, map or string returned a negative result";
   57|      2|            case ubjson_errc::length_must_be_integer:
  ------------------
  |  Branch (57:13): [True: 2, False: 326]
  ------------------
   58|      2|                return "Length must be a integer numeric type (int8, uint8, int16, int32, int64)";
   59|     56|            case ubjson_errc::unknown_type:
  ------------------
  |  Branch (59:13): [True: 56, False: 272]
  ------------------
   60|     56|                return "Unknown type";
   61|     20|            case ubjson_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (61:13): [True: 20, False: 308]
  ------------------
   62|     20|                return "Illegal UTF-8 encoding in text string";
   63|      0|            case ubjson_errc::too_many_items:
  ------------------
  |  Branch (63:13): [True: 0, False: 328]
  ------------------
   64|      0|                return "Too many items were added to a UBJSON object or array of known length";
   65|      0|            case ubjson_errc::too_few_items:
  ------------------
  |  Branch (65:13): [True: 0, False: 328]
  ------------------
   66|      0|                return "Too few items were added to a UBJSON object or array of known length";
   67|      0|            case ubjson_errc::number_too_large:
  ------------------
  |  Branch (67:13): [True: 0, False: 328]
  ------------------
   68|      0|                return "Number exceeds implementation limits";
   69|      1|            case ubjson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (69:13): [True: 1, False: 327]
  ------------------
   70|      1|                return "Data item nesting exceeds limit in options";
   71|     34|            case ubjson_errc::key_expected:
  ------------------
  |  Branch (71:13): [True: 34, False: 294]
  ------------------
   72|     34|                return "Text string key in a map expected";
   73|      3|            case ubjson_errc::max_items_exceeded:
  ------------------
  |  Branch (73:13): [True: 3, False: 325]
  ------------------
   74|      3|                return "Number of items in UBJSON object or array exceeds limit set in options";
   75|      0|            default:
  ------------------
  |  Branch (75:13): [True: 0, False: 328]
  ------------------
   76|      0|                return "Unknown UBJSON parser error";
   77|    328|        }
   78|    328|    }

_ZNK8jsoncons6ubjson21ubjson_options_common17max_nesting_depthEv:
   28|    457|    {
   29|    457|        return max_nesting_depth_;
   30|    457|    }
_ZNK8jsoncons6ubjson21ubjson_decode_options9max_itemsEv:
   44|    457|    {
   45|    457|        return max_items_;
   46|    457|    }
_ZN8jsoncons6ubjson21ubjson_decode_optionsC1Ev:
   38|    457|    ubjson_decode_options() = default;
_ZN8jsoncons6ubjson21ubjson_options_commonC2Ev:
   23|    457|    ubjson_options_common() = default;
_ZN8jsoncons6ubjson21ubjson_options_commonD2Ev:
   25|    457|    virtual ~ubjson_options_common() = default;

_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_21ubjson_decode_optionsERKS7_:
   79|    457|       : source_(std::forward<Sourceable>(source)), 
   80|    457|         max_nesting_depth_(options.max_nesting_depth()),
   81|    457|         max_items_(options.max_items()),
   82|    457|         text_buffer_(alloc),
   83|    457|         state_stack_(alloc)
   84|    457|    {
   85|    457|        state_stack_.emplace_back(parse_mode::root,0);
   86|    457|    }
_ZN8jsoncons6ubjson11parse_stateC2ENS0_10parse_modeEmh:
   45|  11.0M|        : mode(mode), length(length), type(type)
   46|  11.0M|    {
   47|  11.0M|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  141|    328|    {
  142|    328|        return 0;
  143|    328|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  146|    328|    {
  147|    328|        return source_.position();
  148|    328|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
   94|    457|    {
   95|    457|        more_ = true;
   96|    457|        done_ = false;
   97|    457|        text_buffer_.clear();
   98|    457|        state_stack_.clear();
   99|    457|        state_stack_.emplace_back(parse_mode::root,0,uint8_t(0));
  100|    457|        nesting_depth_ = 0;
  101|    457|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  151|    457|    {
  152|  52.1M|        while (!done_ && more_)
  ------------------
  |  Branch (152:16): [True: 52.1M, False: 129]
  |  Branch (152:26): [True: 52.1M, False: 0]
  ------------------
  153|  52.1M|        {
  154|  52.1M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (154:21): [True: 52.1M, False: 0]
  ------------------
  155|  52.1M|            {
  156|  28.9k|                case parse_mode::array:
  ------------------
  |  Branch (156:17): [True: 28.9k, False: 52.1M]
  ------------------
  157|  28.9k|                {
  158|  28.9k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (158:25): [True: 15.5k, False: 13.3k]
  ------------------
  159|  15.5k|                    {
  160|  15.5k|                        ++state_stack_.back().index;
  161|  15.5k|                        read_type_and_value(visitor, ec);
  162|  15.5k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  15.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 15.5k]
  |  |  ------------------
  ------------------
  163|      0|                        {
  164|      0|                            return;
  165|      0|                        }
  166|  15.5k|                    }
  167|  13.3k|                    else
  168|  13.3k|                    {
  169|  13.3k|                        end_array(visitor, ec);
  170|  13.3k|                    }
  171|  28.9k|                    break;
  172|  28.9k|                }
  173|  21.1M|                case parse_mode::strongly_typed_array:
  ------------------
  |  Branch (173:17): [True: 21.1M, False: 31.0M]
  ------------------
  174|  21.1M|                {
  175|  21.1M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (175:25): [True: 21.1M, False: 7.08k]
  ------------------
  176|  21.1M|                    {
  177|  21.1M|                        ++state_stack_.back().index;
  178|  21.1M|                        read_value(visitor, state_stack_.back().type, ec);
  179|  21.1M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  21.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 98, False: 21.1M]
  |  |  ------------------
  ------------------
  180|     98|                        {
  181|     98|                            return;
  182|     98|                        }
  183|  21.1M|                    }
  184|  7.08k|                    else
  185|  7.08k|                    {
  186|  7.08k|                        end_array(visitor, ec);
  187|  7.08k|                    }
  188|  21.1M|                    break;
  189|  21.1M|                }
  190|  21.1M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (190:17): [True: 16.7M, False: 35.4M]
  ------------------
  191|  16.7M|                {
  192|  16.7M|                    auto c = source_.peek();
  193|  16.7M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  16.7M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 32, False: 16.7M]
  |  |  ------------------
  ------------------
  194|     32|                    {
  195|     32|                        ec = ubjson_errc::unexpected_eof;
  196|     32|                        more_ = false;
  197|     32|                        return;
  198|     32|                    }
  199|  16.7M|                    if (c.value == jsoncons::ubjson::ubjson_type::end_array_marker)
  ------------------
  |  Branch (199:25): [True: 5.73M, False: 10.9M]
  ------------------
  200|  5.73M|                    {
  201|  5.73M|                        source_.ignore(1);
  202|  5.73M|                        end_array(visitor, ec);
  203|  5.73M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.73M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.73M]
  |  |  ------------------
  ------------------
  204|      0|                        {
  205|      0|                            return;
  206|      0|                        }
  207|  5.73M|                    }
  208|  10.9M|                    else
  209|  10.9M|                    {
  210|  10.9M|                        if (++state_stack_.back().index > max_items_)
  ------------------
  |  Branch (210:29): [True: 0, False: 10.9M]
  ------------------
  211|      0|                        {
  212|      0|                            ec = ubjson_errc::max_items_exceeded;
  213|      0|                            more_ = false;
  214|      0|                            return;
  215|      0|                        }
  216|  10.9M|                        read_type_and_value(visitor, ec);
  217|  10.9M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 58, False: 10.9M]
  |  |  ------------------
  ------------------
  218|     58|                        {
  219|     58|                            return;
  220|     58|                        }
  221|  10.9M|                    }
  222|  16.7M|                    break;
  223|  16.7M|                }
  224|  16.7M|                case parse_mode::map_key:
  ------------------
  |  Branch (224:17): [True: 11.9k, False: 52.1M]
  ------------------
  225|  11.9k|                {
  226|  11.9k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (226:25): [True: 8.88k, False: 3.05k]
  ------------------
  227|  8.88k|                    {
  228|  8.88k|                        ++state_stack_.back().index;
  229|  8.88k|                        read_key(visitor, ec);
  230|  8.88k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.88k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 8.88k]
  |  |  ------------------
  ------------------
  231|      1|                        {
  232|      1|                            return;
  233|      1|                        }
  234|  8.88k|                        state_stack_.back().mode = parse_mode::map_value;
  235|  8.88k|                    }
  236|  3.05k|                    else
  237|  3.05k|                    {
  238|  3.05k|                        end_object(visitor, ec);
  239|  3.05k|                    }
  240|  11.9k|                    break;
  241|  11.9k|                }
  242|  11.9k|                case parse_mode::map_value:
  ------------------
  |  Branch (242:17): [True: 8.88k, False: 52.1M]
  ------------------
  243|  8.88k|                {
  244|  8.88k|                    state_stack_.back().mode = parse_mode::map_key;
  245|  8.88k|                    read_type_and_value(visitor, ec);
  246|  8.88k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.88k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 8.88k]
  |  |  ------------------
  ------------------
  247|      3|                    {
  248|      3|                        return;
  249|      3|                    }
  250|  8.88k|                    break;
  251|  8.88k|                }
  252|   162k|                case parse_mode::strongly_typed_map_key:
  ------------------
  |  Branch (252:17): [True: 162k, False: 51.9M]
  ------------------
  253|   162k|                {
  254|   162k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (254:25): [True: 134k, False: 28.6k]
  ------------------
  255|   134k|                    {
  256|   134k|                        ++state_stack_.back().index;
  257|   134k|                        read_key(visitor, ec);
  258|   134k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   134k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 134k]
  |  |  ------------------
  ------------------
  259|      7|                        {
  260|      7|                            return;
  261|      7|                        }
  262|   134k|                        state_stack_.back().mode = parse_mode::strongly_typed_map_value;
  263|   134k|                    }
  264|  28.6k|                    else
  265|  28.6k|                    {
  266|  28.6k|                        end_object(visitor, ec);
  267|  28.6k|                    }
  268|   162k|                    break;
  269|   162k|                }
  270|   162k|                case parse_mode::strongly_typed_map_value:
  ------------------
  |  Branch (270:17): [True: 134k, False: 52.0M]
  ------------------
  271|   134k|                {
  272|   134k|                    state_stack_.back().mode = parse_mode::strongly_typed_map_key;
  273|   134k|                    read_value(visitor, state_stack_.back().type, ec);
  274|   134k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   134k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 134k]
  |  |  ------------------
  ------------------
  275|      0|                    {
  276|      0|                        return;
  277|      0|                    }
  278|   134k|                    break;
  279|   134k|                }
  280|  9.60M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (280:17): [True: 9.60M, False: 42.5M]
  ------------------
  281|  9.60M|                {
  282|  9.60M|                    auto c = source_.peek();
  283|  9.60M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  9.60M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 9.60M]
  |  |  ------------------
  ------------------
  284|      6|                    {
  285|      6|                        ec = ubjson_errc::unexpected_eof;
  286|      6|                        more_ = false;
  287|      6|                        return;
  288|      6|                    }
  289|  9.60M|                    if (c.value == jsoncons::ubjson::ubjson_type::end_object_marker)
  ------------------
  |  Branch (289:25): [True: 5.27M, False: 4.32M]
  ------------------
  290|  5.27M|                    {
  291|  5.27M|                        source_.ignore(1);
  292|  5.27M|                        end_object(visitor, ec);
  293|  5.27M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.27M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.27M]
  |  |  ------------------
  ------------------
  294|      0|                        {
  295|      0|                            return;
  296|      0|                        }
  297|  5.27M|                    }
  298|  4.32M|                    else
  299|  4.32M|                    {
  300|  4.32M|                        if (++state_stack_.back().index > max_items_)
  ------------------
  |  Branch (300:29): [True: 0, False: 4.32M]
  ------------------
  301|      0|                        {
  302|      0|                            ec = ubjson_errc::max_items_exceeded;
  303|      0|                            more_ = false;
  304|      0|                            return;
  305|      0|                        }
  306|  4.32M|                        read_key(visitor, ec);
  307|  4.32M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.32M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 65, False: 4.32M]
  |  |  ------------------
  ------------------
  308|     65|                        {
  309|     65|                            return;
  310|     65|                        }
  311|  4.32M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  312|  4.32M|                    }
  313|  9.60M|                    break;
  314|  9.60M|                }
  315|  9.60M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (315:17): [True: 4.32M, False: 47.8M]
  ------------------
  316|  4.32M|                {
  317|  4.32M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  318|  4.32M|                    read_type_and_value(visitor, ec);
  319|  4.32M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.32M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 32, False: 4.32M]
  |  |  ------------------
  ------------------
  320|     32|                    {
  321|     32|                        return;
  322|     32|                    }
  323|  4.32M|                    break;
  324|  4.32M|                }
  325|  4.32M|                case parse_mode::root:
  ------------------
  |  Branch (325:17): [True: 457, False: 52.1M]
  ------------------
  326|    457|                {
  327|    457|                    state_stack_.back().mode = parse_mode::accept;
  328|    457|                    read_type_and_value(visitor, ec);
  329|    457|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    457|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 26, False: 431]
  |  |  ------------------
  ------------------
  330|     26|                    {
  331|     26|                        return;
  332|     26|                    }
  333|    431|                    break;
  334|    457|                }
  335|    431|                case parse_mode::accept:
  ------------------
  |  Branch (335:17): [True: 129, False: 52.1M]
  ------------------
  336|    129|                {
  337|    129|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   45|    129|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 129]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  338|    129|                    state_stack_.clear();
  339|    129|                    more_ = false;
  340|    129|                    done_ = true;
  341|    129|                    visitor.flush();
  342|    129|                    break;
  343|    129|                }
  344|  52.1M|            }
  345|  52.1M|        }
  346|    457|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE19read_type_and_valueERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  349|  15.3M|    {
  350|  15.3M|        if (source_.is_error())
  ------------------
  |  Branch (350:13): [True: 0, False: 15.3M]
  ------------------
  351|      0|        {
  352|      0|            ec = ubjson_errc::source_error;
  353|      0|            more_ = false;
  354|      0|            return;
  355|      0|        }   
  356|       |
  357|  15.3M|        uint8_t b;
  358|  15.3M|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (358:13): [True: 11, False: 15.3M]
  ------------------
  359|     11|        {
  360|     11|            ec = ubjson_errc::unexpected_eof;
  361|     11|            more_ = false;
  362|     11|            return;
  363|     11|        }
  364|  15.3M|        read_value(visitor, b, ec);
  365|  15.3M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  668|  5.75M|    {
  669|  5.75M|        --nesting_depth_;
  670|       |
  671|  5.75M|        visitor.end_array(*this, ec);
  672|  5.75M|        more_ = !cursor_mode_;
  673|  5.75M|        if (level() == mark_level_)
  ------------------
  |  Branch (673:13): [True: 0, False: 5.75M]
  ------------------
  674|      0|        {
  675|      0|            more_ = false;
  676|      0|        }
  677|  5.75M|        state_stack_.pop_back();
  678|  5.75M|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  116|  11.0M|    {
  117|  11.0M|        return static_cast<int>(state_stack_.size());
  118|  11.0M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  368|  36.6M|    {
  369|  36.6M|        switch (type)
  370|  36.6M|        {
  371|  12.9M|            case jsoncons::ubjson::ubjson_type::null_type: 
  ------------------
  |  Branch (371:13): [True: 12.9M, False: 23.7M]
  ------------------
  372|  12.9M|            {
  373|  12.9M|                visitor.null_value(semantic_tag::none, *this, ec);
  374|  12.9M|                more_ = !cursor_mode_;
  375|  12.9M|                break;
  376|      0|            }
  377|  62.3k|            case jsoncons::ubjson::ubjson_type::no_op_type: 
  ------------------
  |  Branch (377:13): [True: 62.3k, False: 36.5M]
  ------------------
  378|  62.3k|            {
  379|  62.3k|                break;
  380|      0|            }
  381|  2.23M|            case jsoncons::ubjson::ubjson_type::true_type:
  ------------------
  |  Branch (381:13): [True: 2.23M, False: 34.3M]
  ------------------
  382|  2.23M|            {
  383|  2.23M|                visitor.bool_value(true, semantic_tag::none, *this, ec);
  384|  2.23M|                more_ = !cursor_mode_;
  385|  2.23M|                break;
  386|      0|            }
  387|  2.17M|            case jsoncons::ubjson::ubjson_type::false_type:
  ------------------
  |  Branch (387:13): [True: 2.17M, False: 34.4M]
  ------------------
  388|  2.17M|            {
  389|  2.17M|                visitor.bool_value(false, semantic_tag::none, *this, ec);
  390|  2.17M|                more_ = !cursor_mode_;
  391|  2.17M|                break;
  392|      0|            }
  393|  2.30M|            case jsoncons::ubjson::ubjson_type::int8_type: 
  ------------------
  |  Branch (393:13): [True: 2.30M, False: 34.3M]
  ------------------
  394|  2.30M|            {
  395|  2.30M|                uint8_t buf[sizeof(int8_t)];
  396|  2.30M|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (396:21): [True: 11, False: 2.30M]
  ------------------
  397|     11|                {
  398|     11|                    ec = ubjson_errc::unexpected_eof;
  399|     11|                    more_ = false;
  400|     11|                    return;
  401|     11|                }
  402|  2.30M|                int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  403|  2.30M|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  404|  2.30M|                more_ = !cursor_mode_;
  405|  2.30M|                break;
  406|  2.30M|            }
  407|  2.03M|            case jsoncons::ubjson::ubjson_type::uint8_type: 
  ------------------
  |  Branch (407:13): [True: 2.03M, False: 34.6M]
  ------------------
  408|  2.03M|            {
  409|  2.03M|                uint8_t b;
  410|  2.03M|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (410:21): [True: 10, False: 2.03M]
  ------------------
  411|     10|                {
  412|     10|                    ec = ubjson_errc::unexpected_eof;
  413|     10|                    more_ = false;
  414|     10|                    return;
  415|     10|                }
  416|  2.03M|                visitor.uint64_value(b, semantic_tag::none, *this, ec);
  417|  2.03M|                more_ = !cursor_mode_;
  418|  2.03M|                break;
  419|  2.03M|            }
  420|  2.22k|            case jsoncons::ubjson::ubjson_type::int16_type: 
  ------------------
  |  Branch (420:13): [True: 2.22k, False: 36.6M]
  ------------------
  421|  2.22k|            {
  422|  2.22k|                uint8_t buf[sizeof(int16_t)];
  423|  2.22k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (423:21): [True: 0, False: 2.22k]
  ------------------
  424|      0|                {
  425|      0|                    ec = ubjson_errc::unexpected_eof;
  426|      0|                    more_ = false;
  427|      0|                    return;
  428|      0|                }
  429|  2.22k|                int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  430|  2.22k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  431|  2.22k|                more_ = !cursor_mode_;
  432|  2.22k|                break;
  433|  2.22k|            }
  434|  7.12k|            case jsoncons::ubjson::ubjson_type::int32_type: 
  ------------------
  |  Branch (434:13): [True: 7.12k, False: 36.6M]
  ------------------
  435|  7.12k|            {
  436|  7.12k|                uint8_t buf[sizeof(int32_t)];
  437|  7.12k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (437:21): [True: 0, False: 7.12k]
  ------------------
  438|      0|                {
  439|      0|                    ec = ubjson_errc::unexpected_eof;
  440|      0|                    more_ = false;
  441|      0|                    return;
  442|      0|                }
  443|  7.12k|                int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  444|  7.12k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  445|  7.12k|                more_ = !cursor_mode_;
  446|  7.12k|                break;
  447|  7.12k|            }
  448|  6.40k|            case jsoncons::ubjson::ubjson_type::int64_type: 
  ------------------
  |  Branch (448:13): [True: 6.40k, False: 36.6M]
  ------------------
  449|  6.40k|            {
  450|  6.40k|                uint8_t buf[sizeof(int64_t)];
  451|  6.40k|                if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (451:21): [True: 2, False: 6.39k]
  ------------------
  452|      2|                {
  453|      2|                    ec = ubjson_errc::unexpected_eof;
  454|      2|                    more_ = false;
  455|      2|                    return;
  456|      2|                }
  457|  6.39k|                int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  458|  6.39k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  459|  6.39k|                more_ = !cursor_mode_;
  460|  6.39k|                break;
  461|  6.40k|            }
  462|   202k|            case jsoncons::ubjson::ubjson_type::float32_type: 
  ------------------
  |  Branch (462:13): [True: 202k, False: 36.4M]
  ------------------
  463|   202k|            {
  464|   202k|                uint8_t buf[sizeof(float)];
  465|   202k|                if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (465:21): [True: 8, False: 202k]
  ------------------
  466|      8|                {
  467|      8|                    ec = ubjson_errc::unexpected_eof;
  468|      8|                    more_ = false;
  469|      8|                    return;
  470|      8|                }
  471|   202k|                float val = binary::big_to_native<float>(buf, sizeof(buf));
  472|   202k|                visitor.double_value(val, semantic_tag::none, *this, ec);
  473|   202k|                more_ = !cursor_mode_;
  474|   202k|                break;
  475|   202k|            }
  476|  1.13k|            case jsoncons::ubjson::ubjson_type::float64_type: 
  ------------------
  |  Branch (476:13): [True: 1.13k, False: 36.6M]
  ------------------
  477|  1.13k|            {
  478|  1.13k|                uint8_t buf[sizeof(double)];
  479|  1.13k|                if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (479:21): [True: 0, False: 1.13k]
  ------------------
  480|      0|                {
  481|      0|                    ec = ubjson_errc::unexpected_eof;
  482|      0|                    more_ = false;
  483|      0|                    return;
  484|      0|                }
  485|  1.13k|                double val = binary::big_to_native<double>(buf, sizeof(buf));
  486|  1.13k|                visitor.double_value(val, semantic_tag::none, *this, ec);
  487|  1.13k|                more_ = !cursor_mode_;
  488|  1.13k|                break;
  489|  1.13k|            }
  490|  3.61M|            case jsoncons::ubjson::ubjson_type::char_type: 
  ------------------
  |  Branch (490:13): [True: 3.61M, False: 33.0M]
  ------------------
  491|  3.61M|            {
  492|  3.61M|                text_buffer_.clear();
  493|  3.61M|                if (source_reader<Source>::read(source_,text_buffer_,1) != 1)
  ------------------
  |  Branch (493:21): [True: 16, False: 3.61M]
  ------------------
  494|     16|                {
  495|     16|                    ec = ubjson_errc::unexpected_eof;
  496|     16|                    more_ = false;
  497|     16|                    return;
  498|     16|                }
  499|  3.61M|                auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  500|  3.61M|                if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (500:21): [True: 2, False: 3.61M]
  ------------------
  501|      2|                {
  502|      2|                    ec = ubjson_errc::invalid_utf8_text_string;
  503|      2|                    more_ = false;
  504|      2|                    return;
  505|      2|                }
  506|  3.61M|                visitor.string_value(text_buffer_, semantic_tag::none, *this, ec);
  507|  3.61M|                more_ = !cursor_mode_;
  508|  3.61M|                break;
  509|  3.61M|            }
  510|  1.00k|            case jsoncons::ubjson::ubjson_type::string_type: 
  ------------------
  |  Branch (510:13): [True: 1.00k, False: 36.6M]
  ------------------
  511|  1.00k|            {
  512|  1.00k|                std::size_t length = get_length(ec);
  513|  1.00k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.00k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.00k]
  |  |  ------------------
  ------------------
  514|      0|                {
  515|      0|                    return;
  516|      0|                }
  517|  1.00k|                text_buffer_.clear();
  518|  1.00k|                if (source_reader<Source>::read(source_,text_buffer_,length) != length)
  ------------------
  |  Branch (518:21): [True: 5, False: 995]
  ------------------
  519|      5|                {
  520|      5|                    ec = ubjson_errc::unexpected_eof;
  521|      5|                    more_ = false;
  522|      5|                    return;
  523|      5|                }
  524|    995|                auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  525|    995|                if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (525:21): [True: 7, False: 988]
  ------------------
  526|      7|                {
  527|      7|                    ec = ubjson_errc::invalid_utf8_text_string;
  528|      7|                    more_ = false;
  529|      7|                    return;
  530|      7|                }
  531|    988|                visitor.string_value(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), semantic_tag::none, *this, ec);
  532|    988|                more_ = !cursor_mode_;
  533|    988|                break;
  534|    995|            }
  535|  1.82k|            case jsoncons::ubjson::ubjson_type::high_precision_number_type: 
  ------------------
  |  Branch (535:13): [True: 1.82k, False: 36.6M]
  ------------------
  536|  1.82k|            {
  537|  1.82k|                std::size_t length = get_length(ec);
  538|  1.82k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.82k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 1.82k]
  |  |  ------------------
  ------------------
  539|      1|                {
  540|      1|                    return;
  541|      1|                }
  542|  1.82k|                text_buffer_.clear();
  543|  1.82k|                if (source_reader<Source>::read(source_,text_buffer_,length) != length)
  ------------------
  |  Branch (543:21): [True: 10, False: 1.81k]
  ------------------
  544|     10|                {
  545|     10|                    ec = ubjson_errc::unexpected_eof;
  546|     10|                    more_ = false;
  547|     10|                    return;
  548|     10|                }
  549|  1.81k|                if (jsoncons::is_base10(text_buffer_.data(),text_buffer_.length()))
  ------------------
  |  Branch (549:21): [True: 29, False: 1.78k]
  ------------------
  550|     29|                {
  551|     29|                    visitor.string_value(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), semantic_tag::bigint, *this, ec);
  552|     29|                    more_ = !cursor_mode_;
  553|     29|                }
  554|  1.78k|                else
  555|  1.78k|                {
  556|  1.78k|                    visitor.string_value(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), semantic_tag::bigdec, *this, ec);
  557|  1.78k|                    more_ = !cursor_mode_;
  558|  1.78k|                }
  559|  1.81k|                break;
  560|  1.82k|            }
  561|  5.77M|            case jsoncons::ubjson::ubjson_type::start_array_marker: 
  ------------------
  |  Branch (561:13): [True: 5.77M, False: 30.8M]
  ------------------
  562|  5.77M|            {
  563|  5.77M|                begin_array(visitor,ec);
  564|  5.77M|                break;
  565|  1.82k|            }
  566|  5.31M|            case jsoncons::ubjson::ubjson_type::start_object_marker: 
  ------------------
  |  Branch (566:13): [True: 5.31M, False: 31.3M]
  ------------------
  567|  5.31M|            {
  568|  5.31M|                begin_object(visitor, ec);
  569|  5.31M|                break;
  570|  1.82k|            }
  571|     56|            default:
  ------------------
  |  Branch (571:13): [True: 56, False: 36.6M]
  ------------------
  572|     56|            {
  573|     56|                ec = ubjson_errc::unknown_type;
  574|     56|                break;
  575|  1.82k|            }
  576|  36.6M|        }
  577|  36.6M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  36.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 134, False: 36.6M]
  |  |  ------------------
  ------------------
  578|    134|        {
  579|    134|            more_ = false;
  580|    134|        }
  581|  36.6M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10get_lengthERNS3_10error_codeE:
  787|  4.53M|    {
  788|  4.53M|        std::size_t length = 0;
  789|  4.53M|        uint8_t type;
  790|  4.53M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (790:13): [True: 15, False: 4.53M]
  ------------------
  791|     15|        {
  792|     15|            ec = ubjson_errc::unexpected_eof;
  793|     15|            more_ = false;
  794|     15|            return length;
  795|     15|        }
  796|  4.53M|        switch (type)
  797|  4.53M|        {
  798|   186k|            case jsoncons::ubjson::ubjson_type::int8_type: 
  ------------------
  |  Branch (798:13): [True: 186k, False: 4.34M]
  ------------------
  799|   186k|            {
  800|   186k|                uint8_t buf[sizeof(int8_t)];
  801|   186k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (801:21): [True: 2, False: 186k]
  ------------------
  802|      2|                {
  803|      2|                    ec = ubjson_errc::unexpected_eof;
  804|      2|                    more_ = false;
  805|      2|                    return length;
  806|      2|                }
  807|   186k|                int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  808|   186k|                if (val >= 0)
  ------------------
  |  Branch (808:21): [True: 186k, False: 0]
  ------------------
  809|   186k|                {
  810|   186k|                    length = val;
  811|   186k|                }
  812|      0|                else
  813|      0|                {
  814|      0|                    ec = ubjson_errc::length_is_negative;
  815|      0|                    more_ = false;
  816|      0|                    return length;
  817|      0|                }
  818|   186k|                break;
  819|   186k|            }
  820|  4.33M|            case jsoncons::ubjson::ubjson_type::uint8_type: 
  ------------------
  |  Branch (820:13): [True: 4.33M, False: 191k]
  ------------------
  821|  4.33M|            {
  822|  4.33M|                uint8_t b;
  823|  4.33M|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (823:21): [True: 1, False: 4.33M]
  ------------------
  824|      1|                {
  825|      1|                    ec = ubjson_errc::unexpected_eof;
  826|      1|                    more_ = false;
  827|      1|                    return length;
  828|      1|                }
  829|  4.33M|                length = b;
  830|  4.33M|                break;
  831|  4.33M|            }
  832|  4.35k|            case jsoncons::ubjson::ubjson_type::int16_type: 
  ------------------
  |  Branch (832:13): [True: 4.35k, False: 4.52M]
  ------------------
  833|  4.35k|            {
  834|  4.35k|                uint8_t buf[sizeof(int16_t)];
  835|  4.35k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (835:21): [True: 0, False: 4.35k]
  ------------------
  836|      0|                {
  837|      0|                    ec = ubjson_errc::unexpected_eof;
  838|      0|                    more_ = false;
  839|      0|                    return length;
  840|      0|                }
  841|  4.35k|                int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  842|  4.35k|                if (val >= 0)
  ------------------
  |  Branch (842:21): [True: 4.35k, False: 0]
  ------------------
  843|  4.35k|                {
  844|  4.35k|                    length = val;
  845|  4.35k|                }
  846|      0|                else
  847|      0|                {
  848|      0|                    ec = ubjson_errc::length_is_negative;
  849|      0|                    more_ = false;
  850|      0|                    return length;
  851|      0|                }
  852|  4.35k|                break;
  853|  4.35k|            }
  854|  4.35k|            case jsoncons::ubjson::ubjson_type::int32_type: 
  ------------------
  |  Branch (854:13): [True: 238, False: 4.52M]
  ------------------
  855|    238|            {
  856|    238|                uint8_t buf[sizeof(int32_t)];
  857|    238|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (857:21): [True: 0, False: 238]
  ------------------
  858|      0|                {
  859|      0|                    ec = ubjson_errc::unexpected_eof;
  860|      0|                    more_ = false;
  861|      0|                    return length;
  862|      0|                }
  863|    238|                int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  864|    238|                if (val >= 0)
  ------------------
  |  Branch (864:21): [True: 238, False: 0]
  ------------------
  865|    238|                {
  866|    238|                    length = static_cast<std::size_t>(val);
  867|    238|                }
  868|      0|                else
  869|      0|                {
  870|      0|                    ec = ubjson_errc::length_is_negative;
  871|      0|                    more_ = false;
  872|      0|                    return length;
  873|      0|                }
  874|    238|                break;
  875|    238|            }
  876|    238|            case jsoncons::ubjson::ubjson_type::int64_type: 
  ------------------
  |  Branch (876:13): [True: 63, False: 4.53M]
  ------------------
  877|     63|            {
  878|     63|                uint8_t buf[sizeof(int64_t)];
  879|     63|                if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (879:21): [True: 0, False: 63]
  ------------------
  880|      0|                {
  881|      0|                    ec = ubjson_errc::unexpected_eof;
  882|      0|                    more_ = false;
  883|      0|                    return length;
  884|      0|                }
  885|     63|                int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  886|     63|                if (val >= 0)
  ------------------
  |  Branch (886:21): [True: 62, False: 1]
  ------------------
  887|     62|                {
  888|     62|                    length = (std::size_t)val;
  889|     62|                    if (length != (uint64_t)val)
  ------------------
  |  Branch (889:25): [True: 0, False: 62]
  ------------------
  890|      0|                    {
  891|      0|                        ec = ubjson_errc::number_too_large;
  892|      0|                        more_ = false;
  893|      0|                        return length;
  894|      0|                    }
  895|     62|                }
  896|      1|                else
  897|      1|                {
  898|      1|                    ec = ubjson_errc::length_is_negative;
  899|      1|                    more_ = false;
  900|      1|                    return length;
  901|      1|                }
  902|     62|                break;
  903|     63|            }
  904|     62|            default:
  ------------------
  |  Branch (904:13): [True: 33, False: 4.53M]
  ------------------
  905|     33|            {
  906|     33|                ec = ubjson_errc::length_must_be_integer;
  907|     33|                more_ = false;
  908|     33|                return length;
  909|     63|            }
  910|  4.53M|        }
  911|  4.53M|        return length;
  912|  4.53M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  584|  5.77M|    {
  585|  5.77M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  5.77M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 5.77M]
  |  |  ------------------
  ------------------
  586|      1|        {
  587|      1|            ec = ubjson_errc::max_nesting_depth_exceeded;
  588|      1|            more_ = false;
  589|      1|            return;
  590|      1|        } 
  591|       |
  592|  5.77M|        auto c = source_.peek();
  593|  5.77M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  5.77M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 17, False: 5.77M]
  |  |  ------------------
  ------------------
  594|     17|        {
  595|     17|            ec = ubjson_errc::unexpected_eof;
  596|     17|            more_ = false;
  597|     17|            return;
  598|     17|        }
  599|  5.77M|        if (c.value == jsoncons::ubjson::ubjson_type::type_marker)
  ------------------
  |  Branch (599:13): [True: 12.8k, False: 5.75M]
  ------------------
  600|  12.8k|        {
  601|  12.8k|            source_.ignore(1);
  602|  12.8k|            uint8_t b;
  603|  12.8k|            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (603:17): [True: 5, False: 12.8k]
  ------------------
  604|      5|            {
  605|      5|                ec = ubjson_errc::unexpected_eof;
  606|      5|                more_ = false;
  607|      5|                return;
  608|      5|            }
  609|  12.8k|            c = source_.peek();
  610|  12.8k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  12.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 12.8k]
  |  |  ------------------
  ------------------
  611|      4|            {
  612|      4|                ec = ubjson_errc::unexpected_eof;
  613|      4|                more_ = false;
  614|      4|                return;
  615|      4|            }
  616|  12.8k|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (616:17): [True: 12.8k, False: 0]
  ------------------
  617|  12.8k|            {
  618|  12.8k|                source_.ignore(1);
  619|  12.8k|                std::size_t length = get_length(ec);
  620|  12.8k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  12.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 12.8k]
  |  |  ------------------
  ------------------
  621|      4|                {
  622|      4|                    return;
  623|      4|                }
  624|  12.8k|                if (length > max_items_)
  ------------------
  |  Branch (624:21): [True: 1, False: 12.8k]
  ------------------
  625|      1|                {
  626|      1|                    ec = ubjson_errc::max_items_exceeded;
  627|      1|                    more_ = false;
  628|      1|                    return;
  629|      1|                }
  630|  12.8k|                state_stack_.emplace_back(parse_mode::strongly_typed_array,length,b);
  631|  12.8k|                visitor.begin_array(length, semantic_tag::none, *this, ec);
  632|  12.8k|                more_ = !cursor_mode_;
  633|  12.8k|            }
  634|      0|            else
  635|      0|            {
  636|      0|                ec = ubjson_errc::count_required_after_type;
  637|      0|                more_ = false;
  638|      0|                return;
  639|      0|            }
  640|  12.8k|        }
  641|  5.75M|        else if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (641:18): [True: 13.3k, False: 5.74M]
  ------------------
  642|  13.3k|        {
  643|  13.3k|            source_.ignore(1);
  644|  13.3k|            std::size_t length = get_length(ec);
  645|  13.3k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 13.3k]
  |  |  ------------------
  ------------------
  646|      4|            {
  647|      4|                return;
  648|      4|            }
  649|  13.3k|            if (length > max_items_)
  ------------------
  |  Branch (649:17): [True: 1, False: 13.3k]
  ------------------
  650|      1|            {
  651|      1|                ec = ubjson_errc::max_items_exceeded;
  652|      1|                more_ = false;
  653|      1|                return;
  654|      1|            }
  655|  13.3k|            state_stack_.emplace_back(parse_mode::array,length);
  656|  13.3k|            visitor.begin_array(length, semantic_tag::none, *this, ec);
  657|  13.3k|            more_ = !cursor_mode_;
  658|  13.3k|        }
  659|  5.74M|        else
  660|  5.74M|        {
  661|  5.74M|            state_stack_.emplace_back(parse_mode::indefinite_array,0);
  662|  5.74M|            visitor.begin_array(semantic_tag::none, *this, ec);
  663|  5.74M|            more_ = !cursor_mode_;
  664|  5.74M|        }
  665|  5.77M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  681|  5.31M|    {
  682|  5.31M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  5.31M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.31M]
  |  |  ------------------
  ------------------
  683|      0|        {
  684|      0|            ec = ubjson_errc::max_nesting_depth_exceeded;
  685|      0|            more_ = false;
  686|      0|            return;
  687|      0|        } 
  688|       |
  689|  5.31M|        auto c = source_.peek();
  690|  5.31M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  5.31M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 23, False: 5.31M]
  |  |  ------------------
  ------------------
  691|     23|        {
  692|     23|            ec = ubjson_errc::unexpected_eof;
  693|     23|            more_ = false;
  694|     23|            return;
  695|     23|        }
  696|  5.31M|        if (c.value == jsoncons::ubjson::ubjson_type::type_marker)
  ------------------
  |  Branch (696:13): [True: 28.6k, False: 5.28M]
  ------------------
  697|  28.6k|        {
  698|  28.6k|            source_.ignore(1);
  699|  28.6k|            uint8_t b;
  700|  28.6k|            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (700:17): [True: 5, False: 28.6k]
  ------------------
  701|      5|            {
  702|      5|                ec = ubjson_errc::unexpected_eof;
  703|      5|                more_ = false;
  704|      5|                return;
  705|      5|            }
  706|  28.6k|            c = source_.peek();
  707|  28.6k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  28.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 28.6k]
  |  |  ------------------
  ------------------
  708|      3|            {
  709|      3|                ec = ubjson_errc::unexpected_eof;
  710|      3|                more_ = false;
  711|      3|                return;
  712|      3|            }
  713|  28.6k|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (713:17): [True: 28.6k, False: 0]
  ------------------
  714|  28.6k|            {
  715|  28.6k|                source_.ignore(1);
  716|  28.6k|                std::size_t length = get_length(ec);
  717|  28.6k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  28.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 28.6k]
  |  |  ------------------
  ------------------
  718|      6|                {
  719|      6|                    return;
  720|      6|                }
  721|  28.6k|                if (length > max_items_)
  ------------------
  |  Branch (721:21): [True: 0, False: 28.6k]
  ------------------
  722|      0|                {
  723|      0|                    ec = ubjson_errc::max_items_exceeded;
  724|      0|                    more_ = false;
  725|      0|                    return;
  726|      0|                }
  727|  28.6k|                state_stack_.emplace_back(parse_mode::strongly_typed_map_key,length,b);
  728|  28.6k|                visitor.begin_object(length, semantic_tag::none, *this, ec);
  729|  28.6k|                more_ = !cursor_mode_;
  730|  28.6k|            }
  731|      0|            else
  732|      0|            {
  733|      0|                ec = ubjson_errc::count_required_after_type;
  734|      0|                more_ = false;
  735|      0|                return;
  736|      0|            }
  737|  28.6k|        }
  738|  5.28M|        else
  739|  5.28M|        {
  740|  5.28M|            c = source_.peek();
  741|  5.28M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  5.28M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.28M]
  |  |  ------------------
  ------------------
  742|      0|            {
  743|      0|                ec = ubjson_errc::unexpected_eof;
  744|      0|                more_ = false;
  745|      0|                return;
  746|      0|            }
  747|  5.28M|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (747:17): [True: 3.46k, False: 5.27M]
  ------------------
  748|  3.46k|            {
  749|  3.46k|                source_.ignore(1);
  750|  3.46k|                std::size_t length = get_length(ec);
  751|  3.46k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.46k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 3.46k]
  |  |  ------------------
  ------------------
  752|      3|                {
  753|      3|                    return;
  754|      3|                }
  755|  3.46k|                if (length > max_items_)
  ------------------
  |  Branch (755:21): [True: 1, False: 3.46k]
  ------------------
  756|      1|                {
  757|      1|                    ec = ubjson_errc::max_items_exceeded;
  758|      1|                    more_ = false;
  759|      1|                    return;
  760|      1|                }
  761|  3.46k|                state_stack_.emplace_back(parse_mode::map_key,length);
  762|  3.46k|                visitor.begin_object(length, semantic_tag::none, *this, ec);
  763|  3.46k|                more_ = !cursor_mode_;
  764|  3.46k|            }
  765|  5.27M|            else
  766|  5.27M|            {
  767|  5.27M|                state_stack_.emplace_back(parse_mode::indefinite_map_key,0);
  768|  5.27M|                visitor.begin_object(semantic_tag::none, *this, ec);
  769|  5.27M|                more_ = !cursor_mode_;
  770|  5.27M|            }
  771|  5.28M|        }
  772|  5.31M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8read_keyERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  915|  4.46M|    {
  916|  4.46M|        std::size_t length = get_length(ec);
  917|  4.46M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.46M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 34, False: 4.46M]
  |  |  ------------------
  ------------------
  918|     34|        {
  919|     34|            ec = ubjson_errc::key_expected;
  920|     34|            more_ = false;
  921|     34|            return;
  922|     34|        }
  923|  4.46M|        text_buffer_.clear();
  924|  4.46M|        if (source_reader<Source>::read(source_,text_buffer_,length) != length)
  ------------------
  |  Branch (924:13): [True: 28, False: 4.46M]
  ------------------
  925|     28|        {
  926|     28|            ec = ubjson_errc::unexpected_eof;
  927|     28|            more_ = false;
  928|     28|            return;
  929|     28|        }
  930|       |
  931|  4.46M|        auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  932|  4.46M|        if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (932:13): [True: 11, False: 4.46M]
  ------------------
  933|     11|        {
  934|     11|            ec = ubjson_errc::invalid_utf8_text_string;
  935|     11|            more_ = false;
  936|     11|            return;
  937|     11|        }
  938|  4.46M|        visitor.key(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), *this, ec);
  939|  4.46M|        more_ = !cursor_mode_;
  940|  4.46M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  775|  5.30M|    {
  776|  5.30M|        --nesting_depth_;
  777|  5.30M|        visitor.end_object(*this, ec);
  778|  5.30M|        more_ = !cursor_mode_;
  779|  5.30M|        if (level() == mark_level_)
  ------------------
  |  Branch (779:13): [True: 0, False: 5.30M]
  ------------------
  780|      0|        {
  781|      0|            more_ = false;
  782|      0|        }
  783|  5.30M|        state_stack_.pop_back();
  784|  5.30M|    }

_ZN8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_21ubjson_decode_optionsERKS7_:
   48|    457|       : parser_(std::forward<Sourceable>(source), options, alloc),
   49|    457|         visitor_(visitor)
   50|    457|    {
   51|    457|    }
_ZN8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   64|    457|    {
   65|    457|        parser_.reset();
   66|    457|        parser_.parse(visitor_, ec);
   67|    457|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    457|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 328, False: 129]
  |  |  ------------------
  ------------------
   68|    328|        {
   69|    328|            return;
   70|    328|        }
   71|    457|    }
_ZNK8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   74|    328|    {
   75|    328|        return parser_.line();
   76|    328|    }
_ZNK8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
   79|    328|    {
   80|    328|        return parser_.column();
   81|    328|    }

