This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ❯ ./run build | |
| [ 1%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_automake.cpp.o | |
| [ 2%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_combined_tu.cpp.o | |
| [ 3%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_common_base.cpp.o | |
| [ 4%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_compact.cpp.o | |
| [ 5%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_console.cpp.o | |
| [ 6%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_cumulative_base.cpp.o | |
| [ 7%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_junit.cpp.o | |
| [ 8%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_multi.cpp.o | |
| [ 10%] Building CXX object _deps/catch2-build/src/CMa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <type_traits> | |
| #include <iostream> | |
| template <typename Id> | |
| struct BoolTemplateType | |
| { | |
| using TypeId = Id; | |
| }; | |
| template <typename T, typename... Args> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="App"> | |
| <div class="anki-card-entire default-text"> | |
| <div class="card-element card-category low small | |
| quaternary-color"> | |
| <span class="component-label quaternary-color">Language & Card Type</span> | |
| <div class="card-element-line"><span class="transparency-enabled">{{Subdeck}}::{{Card}}</span></div> | |
| </div> | |
| <div class="card-element field-translation regular low secondary-color"> | |
| <span class="component-label secondary-color">English Translation</span> | |
| <div class="card-element-line"><span class="card-element-span">{{translation}}</span></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MovieViewModel { | |
| Movie m; | |
| double avgRating; | |
| public MovieViewModel(Movie m, double avgRating) { | |
| this.m = m; | |
| this.avgRating = avgRating; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Ruleset : OrTerm; | |
| OrTerm : OrTerm "|" XorTerm | XorTerm; | |
| XorTerm : XorTerm "^" AndTerm | AndTerm; | |
| AndTerm : AndTerm "&" Primary | Primary; | |
| Primary : validator | "(" OrTerm ")" | "!" Primary; | |
| */ | |
| package main | |
| import ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <type_traits> | |
| template <typename Id> | |
| struct BoolTemplateType { | |
| using TypeId = Id; | |
| }; | |
| template<typename T, typename... Args> | |
| struct _IsPresent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <type_traits> | |
| enum class AlignBy { | |
| Word, DoubleWord | |
| }; | |
| struct _AlignmentId; | |
| template <typename Id, typename T, T value> | |
| struct IntegralTemplateType : std::integral_constant<T, value> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <type_traits> | |
| template <typename Id> | |
| struct BoolTemplateType { | |
| using TypeId = Id; | |
| }; | |
| struct UseFooterId; | |
| struct UseFooter : BoolTemplateType<UseFooterId> {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template <typename T> | |
| constexpr T pow(const T& n, const T& m) { | |
| T prod = 1; | |
| for (T i = 0; i < m; ++i) | |
| prod *= n; | |
| return prod; | |
| } | |
| template <typename T, T n, T m> | |
| struct Pow { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template <typename T> | |
| constexpr T square(const T& n) { | |
| return n * n; | |
| } | |
| template <typename T> | |
| constexpr T cube(const T& n) { | |
| return square(n) * n; | |
| } |
NewerOlder