This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
C++でうっかり無限ループを書くと鼻から悪魔が出てくる - Qiita
https://qiita.com/tkmtSo/items/de3148dd1dcb70f38d6a
うへー
違法ダウンロード、刑事罰を拡大 漫画など静止画に適用 - 共同通信 | This Kiji
https://this.kiji.is/461339362766586977?c=39550187727945729
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
https://www.e-aidem.com/ch/listen/entry/2019/01/25/103000 名前を出せない「テクニカルイラストレーター」の私が“ぬっきぃ”として活動するまで - はたらく女性の深呼吸マガジン「りっすん」
This account is not set to public on notestock.
returu hoge ? true : falseってなるのどういう言語だろうっておもったけどhogeがboolじゃなくても行ける言語だと割とあり得るのか(?)
C++ だと、たとえば std::iostream が bool への型変換でストリームが正常か否かを返す (まあ専用のメソッドもあるのでそっちを使った方がいいんだけど)
あるいは shared_ptr や unique_ptr も bool への型変換でポインタが有効か否かを返したはず
本当は
if(smartptr) {}
とか
if(std::iostream &s = fn_returning_stream()) {}
などするためのものなんだろうけど
bool にしたいだけなら専用のメソッドを使うべきだし、次点で !!obj のような二重否定による bool へのキャストか static_cast<bool>(obj) では
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
explicit が使えるようになるまでは謎の bool 経由暗黙キャストで破滅した経験があるので、あれは本当に神機能だと思う
一方 Rust だと大抵の型変換は .into() で明示的に行われる、これが本当の正解
あと、 explicit な bool への変換で利便性を損なわないよう contextually converted to bool なる概念が導入されたのも、なかなかいいバランス感覚だと思う >C++11
本の虫: C++の規格におけるcontextually converted to boolという用語について
https://cpplover.blogspot.com/2015/09/ccontextually-converted-to-bool.html
[多くのAndroid向け無償VPNアプリ、実はマルウェアで情報漏洩のリスク | マイナビニュース](https://news.mynavi.jp/article/20190124-760635/)
VPNというか透過プロクシのほうがものを表してるでしょこれ(
あ、奨学金からVPS契約してインスタンス作りたいけど、別銀行の口座作っていちいち送金したりしないと面倒だなぁってなってた。でも、ゆうちょのVisaデビットなら普通にできるじゃん!…しない理由がなくなった!