folly/folly/detail/UniqueInstance.cpp

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include <folly/detail/UniqueInstance.h>

#include <cstdlib>
#include <cstring>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>

#include <folly/Demangle.h>
#include <folly/lang/Exception.h>

namespace folly {
namespace detail {

namespace {

bool equal(std::type_info const& a, std::type_info const& b) {}

Ptr;
struct PtrRange {};

template <typename Value>
PtrRange ptr_range_key(Value value) {}

template <typename Value>
PtrRange ptr_range_mapped(Value value) {}

bool equal(PtrRange lhs, PtrRange rhs) {}

std::string_view parse_demangled_tag_name(std::string_view str) {}

std::string join(PtrRange types) {}

template <typename Value>
fbstring render_tmpl(Value value) {}

template <typename Value>
std::string render(Value value) {}

} // namespace

void UniqueInstance::enforce(Arg& arg) noexcept {}

} // namespace detail
} // namespace folly