Move import std to examples src begin. (for clangd)
This commit is contained in:
parent
e7bc40ad39
commit
f04bc7e7fb
13 changed files with 14 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
#include <utempl/macro.hpp>
|
||||
import std;
|
||||
#include <utempl/macro.hpp>
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
template <typename T>
|
||||
struct AttributeData {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
auto main() -> int {
|
||||
constexpr auto f = utempl::Curry([](auto... args) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
struct SomeInterfaceImpl {
|
||||
int a;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
auto main() -> int {
|
||||
constexpr auto value = utempl::LeftFold(
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
auto main() -> int {
|
||||
constexpr auto arr = utempl::TupleMaker<std::array<void*, 0>>::Make();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
auto main() -> int {
|
||||
constexpr std::array types = {utempl::kTypeId<int>, utempl::kTypeId<void>};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
auto main() -> int {
|
||||
utempl::Overloaded([](auto&& arg) {},
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
struct Container {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
using namespace utempl; // NOLINT
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
auto main() -> int {
|
||||
auto tuple = Reverse(utempl::Tuple{4, 3, 2, 1});
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
auto main() -> int {
|
||||
static_assert(utempl::Switch<int>(utempl::Tuple{2, 1, 0}, utempl::Tuple{0, 1, 2}, 0, [](int value) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
#include <utempl/utempl.hpp>
|
||||
|
||||
auto main() -> int {
|
||||
std::size_t i = 0;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import std;
|
||||
#include <cassert>
|
||||
#include <utempl/utempl.hpp>
|
||||
import std;
|
||||
|
||||
auto main() -> int {
|
||||
using utempl::literals::operator""_c;
|
||||
|
|
Loading…
Reference in a new issue