Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
stl_util.h File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

#include <algorithm>
#include <array>
#include <iterator>
#include <memory>
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/numerics/safe_conversions.h"
Include dependency graph for stl_util.h:

Go to the source code of this file.

Classes

class  fxcrt::FakeUniquePtr< T >

Namespaces

namespace  fxcrt

Functions

template<class T>
FakeUniquePtr< T > fxcrt::MakeFakeUniquePtr (T *arg)
template<typename ResultType, typename Collection>
ResultType fxcrt::CollectionSize (const Collection &collection)
template<typename IndexType, typename Collection>
bool fxcrt::IndexInBounds (const Collection &collection, IndexType index)
template<typename T, typename V>
void fxcrt::Fill (T &&container, const V &value)
template<typename T, typename U>
void fxcrt::Copy (const T &source_container, U &&dest_container)
template<typename U, typename T, size_t N, size_t... I>
constexpr std::array< U, N > fxcrt::ToArrayImpl (const T(&data)[N], std::index_sequence< I... >)
template<typename U, size_t N>
constexpr std::array< U, N > fxcrt::ToArray (const U(&data)[N])