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
| // https://github.com/CppCon/CppCon2018/tree/master/Presentations/named_arguements_from_scratch | |
| #include <string> | |
| #include <boost/hana.hpp> | |
| namespace hana = boost::hana; | |
| using namespace hana::literals; | |
| static int foo(int a, float b, std::string const& c) { | |
| return (c.size() + a) / b; |
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
| $MARKS_DIR = "$HOME/.powermarks" | |
| $MARKS_CWD = ".cwd" | |
| New-Item -ItemType Director -Force -Path $MARKS_DIR | |
| function _l() { | |
| Get-ChildItem -Path $MARKS_DIR | |
| } | |
| function _m($MARK_LABEL) { | |
| Get-Location | Set-Content "$MARKS_DIR/$MARK_LABEL" |
OlderNewer