![]() |
LeechCraft 0.6.70-17793-g6e56308e78
Modular cross-platform feature rich live environment.
|
#include "sllconfig.h"#include <memory>#include <utility>#include <QLatin1String>#include <QVariant>#include "ctstring.h"#include "typegetter.h"Go to the source code of this file.
Classes | |
| struct | LC::Util::DetectRetType |
Namespaces | |
| namespace | LC |
| namespace | LC::Util |
Functions | |
| template<typename Assoc> | |
| auto | LC::Util::Stlize (Assoc &&assoc) noexcept |
| Converts an Qt's associative sequence assoc to an STL-like iteratable range. | |
| template<typename Assoc> | |
| auto | LC::Util::StlizeKeys (Assoc &&assoc) noexcept |
| QByteArray | LC::Util::AsByteArray (std::string_view view) noexcept |
| Convert the view into a QByteArray without copying. | |
| QByteArray | LC::Util::ToByteArray (std::string_view view) noexcept |
| Create a QByteArray with the data referenced by the view. | |
| std::string_view | LC::Util::AsStringView (const QByteArray &arr) noexcept |
| Create a std::string_view referring the data within a QByteArray. | |
| template<typename T, typename S> | |
| std::pair< T, T > | LC::Util::BreakAt (const T &str, S c) noexcept |
| template<typename T> | |
| void | LC::Util::ReleaseInto (std::unique_ptr< T > &&ptr, QObject &parent) |
| QString | LC::Util::UnsafeFromView (QStringView sv) |
| template<typename R = DetectRetType, typename... Fs> | |
| auto | LC::Util::HandleQVariant (const QVariant &variant, Fs &&... handlers) |
| constexpr QLatin1String | LC::operator""_ql (const char *str, std::size_t size) noexcept |
| constexpr QStringView | LC::operator""_qsv (const char16_t *str, std::size_t size) noexcept |
| QByteArray | LC::operator""_qba (const char *str, std::size_t size) noexcept |
| template<Util::CtString S> | |
| QString | LC::operator""_qs () |