Commit 664db60d577c50b535c5217b50899b01acb2a9cf

Authored by Jordi Inglada
1 parent afb926bb
Exists in master

DOC: minor edit to readme

Showing 1 changed file with 6 additions and 3 deletions   Show diff stats
README.org
1 1 ~cesbio-utils~ is a header-only C++ library with small utilities for:
2   -- string manipulation
3   -- text file parsing
  2 +- string manipulation (~cbutils::string~),
  3 +- file IO (~cbutils::file~),
  4 +- sequence manipulation (~cbutils::seq~),
4 5 - etc.
5 6  
6 7 which can be useful for [[http://jordiinglada.net/wp/2015/03/25/scripting-in-c-2/][rapid prototyping and scripting in C++]].
7 8  
8   -The library is not optimized for speed or memory, but rather for writing simple code. For instance, ~std::vector~ is used as a return value instead of passing ~std::vector&~ as an output parameter. Although move semantics in modern C++ should supress the copy of the return value, some programmers will see that as a heresy. We prefer being able to write
  9 +The library is not optimised for speed or memory, but rather for writing simple code. For instance, ~std::vector~ is used as a return value instead of passing ~std::vector&~ as an output parameter. Although move semantics in modern C++ should suppress the copy of the return value, some programmers will see that as a heresy.
  10 +
  11 +We prefer being able to write
9 12  
10 13 #+BEGIN_SRC C++
11 14 auto lines = cbutils::seq::tail(cbutils::file::readlines(input_file));
... ...