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 <string> | |
#include <locale> | |
#include <codecvt> | |
int main() | |
{ | |
std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t> converter; | |
std::string u8str = u8"abcdeあいうえお🗿"; |
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 <memory> | |
class IFoo | |
{ | |
public: | |
virtual ~IFoo() {} | |
virtual int f() = 0; | |
}; |
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 <iomanip> | |
#include <memory> | |
#include <array> | |
#include <cmath> | |
// ニューロン(マッチ箱+お菓子) | |
class Neuron | |
{ | |
public: |
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
msys/winpty-git 1~0.2.2.365.79c9859-1 | |
A Windows software package providing an interface similar to a Unix | |
pty-master for communicating with Windows console programs |
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
0: foo() shared f() ~foo() | |
1: foo(1234) shared f() ~foo() | |
2: foo(456) shared custom_deleter f() ~foo() | |
3: foo(789) shared custom_full f() ~foo() | |
4: foo() unique f() ~foo() | |
5: foo(bar) unique f() ~foo() | |
6: *** error *** | |
7: foo(42) unique custom_deleter f() ~foo() |
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
main begin | |
1: device() | |
device foo! | |
2: device foo! | |
3: device foo! | |
~device() | |
4: invalid instance. | |
5: device() | |
6: device foo! | |
7: beacon() |
NewerOlder