/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2006--2011 Jan Nieuwenhuizen <janneke@gnu.org>
+ Copyright (C) 2006--2014 Jan Nieuwenhuizen <janneke@gnu.org>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#endif
#endif
+#include "config.hh" /* needed at least for HAVE_STL_DATA_METHOD */
#include <algorithm> /* find, reverse, sort */
#include <functional> /* unary_function */
#include <cassert>
vsize
binary_search (vector<T> const &v,
T const &key,
- Compare less = less<T> (),
+ Compare less,
vsize b = 0, vsize e = VPOS)
{
vsize lb = lower_bound (v, key, less, b, e);
}
vector<string> string_split (string str, char c);
-string string_join (vector<string> const &strs, string infix);
+string string_join (vector<string> const &strs, const string &infix);
#define iterof(i,s) typeof((s).begin()) i((s).begin())