LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 2006--2020 Jan Nieuwenhuizen <janneke@gnu.org> | 4 Copyright (C) 2006--2020 Jan Nieuwenhuizen <janneke@gnu.org> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 junk_pointers (std::vector<T> &v) | 214 junk_pointers (std::vector<T> &v) |
215 { | 215 { |
216 // Hmm. | 216 // Hmm. |
217 for_each (v.begin (), v.end (), del<T> ()); | 217 for_each (v.begin (), v.end (), del<T> ()); |
218 v.clear (); | 218 v.clear (); |
219 } | 219 } |
220 | 220 |
221 std::vector<std::string> string_split (std::string str, char c); | 221 std::vector<std::string> string_split (std::string str, char c); |
222 std::string string_join (std::vector<std::string> const &strs, const std::string
&infix); | 222 std::string string_join (std::vector<std::string> const &strs, const std::string
&infix); |
223 | 223 |
| 224 #define ARRAYSIZE(a) sizeof(a)/sizeof(a[0]) |
| 225 |
224 #endif /* STD_VECTOR_HH */ | 226 #endif /* STD_VECTOR_HH */ |
LEFT | RIGHT |