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
// VSで確認するには C/C++ -> Assemby Outputの項目をAssembly-Only Listing (/FA)に設定 | |
class base | |
{ | |
public: | |
virtual fn() = 0; | |
}; | |
Class A | |
{ | |
public: | |
fn() override { something; } |
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
# ERB-TEMPLATEを便利に書くためのクラス | |
# | |
# 使い方 | |
# module TEST_CONST | |
# extends TemplateGenerater | |
# TEST = "test_string-<%= id %>" | |
# end | |
# | |
# TEST_CONST::test(id: 1) #=> "test_string-1" | |
# TEST_CONST::test(id: 2) #=> "test_string-2" |
NewerOlder