Lines Matching defs:std
35 std::swap(data_, other.data_);
36 std::swap(size_, other.size_);
37 std::swap(capacity_, other.capacity_);
122 template <typename T, std::size_t N, template <typename...> class TT>
140 return std::make_tuple(ReturnValueHelper(value, S)...);
143 // Returns an N-tuple of type std::tuple<T,...T> containing |value| in each
146 typename R = typename RepeatedType<T, N, std::tuple>::type>
200 // with std::vector is helpful.
213 Payload(const std::initializer_list<uint8_t>& initializer) {
215 std::copy(initializer.begin(), initializer.end(), buffer_.begin());
223 Payload& operator=(const std::initializer_list<uint8_t>& initializer) {
225 std::copy(initializer.begin(), initializer.end(), buffer_.begin());
238 // Compares Payload with std::vector.
240 typename std::enable_if<sizeof(Type) == sizeof(uint8_t), bool>::type
241 operator==(const std::vector<Type, AllocatorType>& other) const {
246 typename std::enable_if<sizeof(Type) == sizeof(uint8_t), bool>::type
247 operator!=(const std::vector<Type, AllocatorType>& other) const {
258 std::fill(data, data + count, value);
346 std::size_t FdCount() const { return file_handles_.size(); }
351 std::vector<int> file_handles_;