-novid -nojoy -nosteamcontroller -nohltv -particles 1 -precachefontchars -noquicktime
$STEAM_LIBRARY\steamapps\common\Team Fortress 2\tf\custom\module.cfg
:
CheckOptions: | |
- key: readability-identifier-naming.ClassCase | |
value: CamelCase | |
- key: readability-identifier-naming.ClassMemberCase | |
value: lower_case | |
- key: readability-identifier-naming.ConstexprVariableCase | |
value: CamelCase | |
- key: readability-identifier-naming.ConstexprVariablePrefix | |
value: k | |
- key: readability-identifier-naming.EnumCase |
deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu focal-security main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu focal-security main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu focal-proposed main restricted universe multiverse |
#include <utility> | |
#include <memory> | |
#include <iterator> | |
#include <type_traits> | |
#include <concepts> | |
namespace phd { | |
template<typename T> | |
concept copy_assignable = std::is_copy_assignable_v<T>; |
#include <ostream> | |
#include <string> | |
#include <type_traits> | |
#include <utility> | |
template <typename CharT, typename Arg> | |
auto | |
Print(std::ostream &os, [[maybe_unused]] CharT delimiter, const Arg &arg) | |
-> std::ostream & { | |
static_assert( |
CC = clang | |
CFLAGS = -std=c11 -O0 -g3 -Wall -Wextra | |
ASAN_FLAGS = -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-recover=address | |
CSRC = $(wildcard *.c) | |
COBJ = $(patsubst %.c, %.o, $(CSRC)) | |
.PHONY: all | |
all: main |
# Debian | |
sudo apt install clang libc++-dev libc++abi-dev libunwind-dev | |
# Red Hat | |
## yum | |
sudo yum install libcxx-devel libunwind-devel | |
## dnf | |
sudo dnf install libcxx-devel libunwind-devel |
#include <concepts> | |
#include <iostream> | |
#include <type_traits> | |
struct BothAssignable { | |
constexpr auto operator=(const BothAssignable&) noexcept -> BothAssignable& = default; | |
constexpr auto operator=(BothAssignable&&) noexcept -> BothAssignable& = default; | |
}; | |
struct CopyAssignable { |
#include <iterator> // bidirectional_iterator, iterator_traits | |
#include <utility> // move, swap | |
template <std::bidirectional_iterator BidirectionalIterator, typename Compare, | |
typename ValueType = | |
typename std::iterator_traits<BidirectionalIterator>::value_type> | |
constexpr auto bubble_sort1(BidirectionalIterator begin, | |
BidirectionalIterator end, Compare compare) | |
-> void { | |
if (begin == end) { |
#include <concepts> // integral | |
#include <cstddef> // size_t | |
#include <iostream> // cout | |
#include <ranges> // iota, reverse | |
namespace { | |
constexpr auto | |
is_bit_set(long long i, std::size_t n) -> bool { | |
return (i & (1LL << n)) != 0; |