- Name: Yuki Wada
- Twitter: @mitama_rs (いなむのみたまのかみ)
a C++17 library that provides Result and Maybe with monadic functions
a C++17 library that provides Result and Maybe with monadic functions
#ifndef MITAMA_RANGE_VIEW_FLIP_HPP | |
#define MITAMA_RANGE_VIEW_FLIP_HPP | |
#include <range/v3/all.hpp> | |
#include <utility> | |
#include <type_traits> | |
#include <tuple> | |
namespace mitama::views { | |
inline constexpr auto flip = ranges::views::transform([](auto&& t){ | |
static_assert(std::tuple_size_v<std::decay_t<decltype(t)>> >= 2); |
#ifndef MITAMA_RANGE_CONVERSION_HPP | |
#define MITAMA_RANGE_CONVERSION_HPP | |
#include <range/v3/all.hpp> | |
#include <utility> | |
#include <type_traits> | |
#include <tuple> | |
#include <mitama/mana/type_traits/is_tuple_like.hpp> | |
#include <boost/hana/functional/overload_linearly.hpp> | |
namespace mitama::_collect_fn_detail { | |
template <class Dictionary, class=void> |
#ifndef CADDi_OCC_EXTENSIONS_EXPLORER_HPP | |
#define CADDi_OCC_EXTENSIONS_EXPLORER_HPP | |
#include <iterator> | |
#include <type_traits> | |
#include <utility> | |
#include <functional> | |
#include <memory> | |
#include <TopExp_Explorer.hxx> | |
#include <TopoDS_Shape.hxx> | |
#include <boost/container/flat_map.hpp> |
#ifndef MITAMA_CONTAINER_ENTRY_HPP | |
#define MITAMA_CONTAINER_ENTRY_HPP | |
#include <boost/container/flat_map.hpp> | |
#include <functional> | |
#include <type_traits> | |
#include <utility> | |
namespace mitama { | |
template <class K, class V> |
version: 2.1 | |
orbs: # Inline Orbs for Document Integration | |
mkdocs: | |
jobs: | |
test_book: # Sample Code Integration | |
parameters: | |
compiler: | |
description: compiler-version | |
type: string |
version: 2.1 | |
executors: | |
default: | |
docker: | |
- image: buildpack-deps:bionic-curl | |
test-env: | |
parameters: | |
compiler: | |
description: "compiler-version" | |
default: "clang-7.0.0" |
#!/usr/bin/env zsh | |
# A hash array for zplug | |
typeset -gx -A zplugs | |
zplugs=() | |
# A variable as a starting point of zplug | |
typeset -gx ZPLUG_ROOT="${${(%):-%N}:A:h}" | |
# Load basic functions such as an __zplug::base function |
template < class... Units1, template <class> class Synonym1, auto Value1, | |
class... Units2, template <class> class Synonym2, auto Value2, | |
std::enable_if_t< | |
is_same_dimensional_v< | |
dimensional_t<Units1...>, | |
dimensional_t<Units2...>>, | |
bool> = false > | |
inline constexpr auto | |
operator+ (static_quantity_t<Synonym1<dimensional_t<Units1...>>, Value1>, static_quantity_t<Synonym2<dimensional_t<Units2...>>, Value2>) noexcept | |
-> static_quantity_t<mitamagic::scaled_dimension_t<dimensional_t<Units1...>, dimensional_t<Units2...>>, |
clang++ ./test.cpp -std=c++17 -Wall -Wextra -I../include | |
In file included from ./test.cpp:1: | |
In file included from ./../include/DTL.hpp:32: | |
In file included from ../include/DTL/Deprecated.hpp:43: | |
In file included from ../include/Deprecated/RogueLike.hpp:18: | |
../include/Utility/NoiseShoreBool.hpp:282:75: warning: unused parameter 'x_' [-Wunused-parameter] | |
constexpr void noiseShoreBothBool(Matrix_ & matrix_, const std::size_t x_, const std::size_t y_) noexcept { | |
^ | |
../include/Utility/NoiseShoreBool.hpp:282:97: warning: unused parameter 'y_' [-Wunused-parameter] | |
constexpr void noiseShoreBothBool(Matrix_ & matrix_, const std::size_t x_, const std::size_t y_) noexcept { |