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 <SSVUtils/SSVUtils.hpp> | |
| using Idx = std::size_t; | |
| using Ctr = int; | |
| struct Manager; | |
| class Handle; | |
| struct Impl | |
| { |
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
| section .data | |
| str: db 100 | |
| section .bss | |
| section .text | |
| global _start | |
| _start: |
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 <SSVUtils/SSVUtils.hpp> | |
| namespace Eng | |
| { | |
| template<typename TTokenType, typename TTokenDataType, typename TASTType> struct LangSpec | |
| { | |
| using TokenType = TTokenType; | |
| using TokenDataType = TTokenDataType; | |
| using ASTType = TASTType; | |
| }; |
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
| #!/bin/sh | |
| cd "/home/vittorioromeo/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends/RADS/system/" | |
| wine "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe |
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 <iostream> | |
| #include <set> | |
| #include <utility> | |
| #include <cstddef> | |
| #include <SSVUtils/SSVUtils.hpp> | |
| namespace Internal | |
| { | |
| template<typename T> struct PtrComparator | |
| { |
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
| // Copyright (c) 2013-2014 Vittorio Romeo | |
| // License: Academic Free License ("AFL") v. 3.0 | |
| // AFL License page: http://opensource.org/licenses/AFL-3.0 | |
| #ifndef SSVU_BIMAP | |
| #define SSVU_BIMAP | |
| #include <cassert> | |
| #include <map> | |
| #include <set> |
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 <SSVUtils/SSVUtils.hpp> | |
| namespace ssvu | |
| { | |
| namespace MPL | |
| { | |
| template<typename...> struct List; | |
| namespace Internal | |
| { |
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 <iostream> | |
| #include <SSVUtils/SSVUtils.hpp> | |
| enum class Token | |
| { | |
| Num, | |
| POpen, | |
| PClose, | |
| OpAdd, | |
| OpSub |
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
| #!/bin/bash | |
| gcc $1 -o /tmp/$1 && /tmp/$1 |
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
| #!/bin/bash | |
| clang++ "$@" -Wall -Wextra -Wpedantic -Wshadow -Wheader-hygiene -Wcast-align -Wconversion \ | |
| -Wmissing-declarations -Wunreachable-code |