#else // !_LIBSTDCXX_FBSTRING
#else // !_LIBSTDCXX_FBSTRING
+#include <folly/CppAttributes.h>
#include <folly/Portability.h>
// libc++ doesn't provide this header, nor does msvc
#include <folly/Portability.h>
// libc++ doesn't provide this header, nor does msvc
if (RefCounted::refs(ml_.data_) > 1) {
return ml_.size_;
}
if (RefCounted::refs(ml_.data_) > 1) {
return ml_.size_;
}
+ break;
+ default:
+ break;
}
return ml_.capacity();
}
}
return ml_.capacity();
}
switch ((byteSize + wordWidth - 1) / wordWidth) { // Number of words.
case 3:
ml_.capacity_ = reinterpret_cast<const size_t*>(data)[2];
switch ((byteSize + wordWidth - 1) / wordWidth) { // Number of words.
case 3:
ml_.capacity_ = reinterpret_cast<const size_t*>(data)[2];
case 2:
ml_.size_ = reinterpret_cast<const size_t*>(data)[1];
case 2:
ml_.size_ = reinterpret_cast<const size_t*>(data)[1];
case 1:
ml_.data_ = *reinterpret_cast<Char**>(const_cast<Char*>(data));
case 1:
ml_.data_ = *reinterpret_cast<Char**>(const_cast<Char*>(data));
#include <stdexcept>
#include <iterator>
#include <stdexcept>
#include <iterator>
+#include <folly/CppAttributes.h>
+
#ifndef FOLLY_STRING_H_
#error This file may only be included from String.h
#endif
#ifndef FOLLY_STRING_H_
#error This file may only be included from String.h
#endif
break;
}
// else fallthrough
break;
}
// else fallthrough
#include <boost/lexical_cast.hpp>
#include <folly/Benchmark.h>
#include <boost/lexical_cast.hpp>
#include <folly/Benchmark.h>
+#include <folly/CppAttributes.h>
#include <folly/Foreach.h>
#include <array>
#include <folly/Foreach.h>
#include <array>
switch (*start) {
case '-':
positive = false;
switch (*start) {
case '-':
positive = false;
}
while (start < end && *start >= '0' && *start <= '9') {
}
while (start < end && *start >= '0' && *start <= '9') {