In this chapter we’ll find a nicer way to pass in strings into functions, a better way of handling its error conditions, and a way to do less copying and see how to measure the efficiency of functions.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

String Views, Exceptions, Move Semantics, and O Notation

  • Will Briggs

摘要

In this chapter we’ll find a nicer way to pass in strings into functions, a better way of handling its error conditions, and a way to do less copying and see how to measure the efficiency of functions.