Commit d48cea50 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Cut traits for old-ABI std::basic_string

Summary: [Folly] Cut traits for old-ABI `std::basic_string` under libstdc++.

Reviewed By: pixelb

Differential Revision: D14764155

fbshipit-source-id: fa4991f4b70fb407672212886c84f1be4c33581f
parent c316166d
...@@ -629,15 +629,6 @@ FOLLY_NAMESPACE_STD_BEGIN ...@@ -629,15 +629,6 @@ FOLLY_NAMESPACE_STD_BEGIN
template <class T, class U> template <class T, class U>
struct pair; struct pair;
#ifndef _GLIBCXX_USE_FB
FOLLY_GLIBCXX_NAMESPACE_CXX11_BEGIN
template <class T, class R, class A>
class basic_string;
FOLLY_GLIBCXX_NAMESPACE_CXX11_END
#else
template <class T, class R, class A, class S>
class basic_string;
#endif
template <class T, class A> template <class T, class A>
class vector; class vector;
template <class T, class A> template <class T, class A>
...@@ -750,10 +741,6 @@ bool greater_than(LHS const lhs) { ...@@ -750,10 +741,6 @@ bool greater_than(LHS const lhs) {
// Assume nothing when compiling with MSVC. // Assume nothing when compiling with MSVC.
#ifndef _MSC_VER #ifndef _MSC_VER
// gcc-5.0 changed string's implementation in libstdc++ to be non-relocatable
#if !_GLIBCXX_USE_CXX11_ABI
FOLLY_ASSUME_FBVECTOR_COMPATIBLE_3(std::basic_string)
#endif
FOLLY_ASSUME_FBVECTOR_COMPATIBLE_2(std::vector) FOLLY_ASSUME_FBVECTOR_COMPATIBLE_2(std::vector)
FOLLY_ASSUME_FBVECTOR_COMPATIBLE_2(std::deque) FOLLY_ASSUME_FBVECTOR_COMPATIBLE_2(std::deque)
FOLLY_ASSUME_FBVECTOR_COMPATIBLE_2(std::unique_ptr) FOLLY_ASSUME_FBVECTOR_COMPATIBLE_2(std::unique_ptr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment