Loading...
Searching...
No Matches
string_view.hpp
Go to the documentation of this file.
// Copyright 2009-present MongoDB, Inc.
//
// 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.
#pragma once
#include <bsoncxx/v1/stdx/string_view.hpp> // IWYU pragma: export
namespace bsoncxx {
namespace v_noabi {
namespace stdx {
using v1::stdx::basic_string_view;
using v1::stdx::string_view;
} // namespace stdx
} // namespace v_noabi
} // namespace bsoncxx
namespace bsoncxx {
namespace stdx {
#if defined(BSONCXX_API_OVERRIDE_DEFAULT_ABI)
using v1::stdx::basic_string_view;
using v1::stdx::string_view;
#else
using v_noabi::stdx::basic_string_view;
using v_noabi::stdx::string_view;
#endif // defined(BSONCXX_API_OVERRIDE_DEFAULT_ABI)
} // namespace stdx
} // namespace bsoncxx
bsoncxx::stdx
Declares C++17 standard library polyfills.
bsoncxx::v_noabi::stdx
Declares C++17 standard library polyfills.
bsoncxx::v_noabi
Declares entities whose ABI stability is NOT guaranteed.
bsoncxx
The top-level namespace within which all bsoncxx library entities are declared.
string_view.hpp
Provides std::string_view-related polyfills for library API usage.