問題タブ [string-view]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
169 問題
0
投票する
1
に答える
296
参照
c++ - string_view の推定ガイドがないのはなぜですか?
の参照を見ると、-basic_string_view
から構築するための (明示的な) 演繹ガイドが不足しているようです。std::basic_string
const char*
const wchar_t*
現在、文字列ビューに貼り付けることができるものはすべて受け入れる必要があるテンプレートで、次のトリックに頼っています。
私はただ書くことを好んだでしょう:
これは考慮されているのでしょうか?