X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fstd-vector.hh;h=76a11bb9252237189463c667290df2cd01ecc183;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=10641dc5a00daa8e1569352469fc97c86e7b5e9d;hpb=621e5fb6a5c3cb67c46082e561cffad691ead30c;p=lilypond.git diff --git a/flower/include/std-vector.hh b/flower/include/std-vector.hh index 10641dc5a0..76a11bb925 100644 --- a/flower/include/std-vector.hh +++ b/flower/include/std-vector.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2006 Jan Nieuwenhuizen + (c) 2006--2008 Jan Nieuwenhuizen */ #ifndef STD_VECTOR_HH @@ -22,10 +22,11 @@ #include /* find, reverse, sort */ #include /* unary_function */ #include +#include using namespace std; -#if HAVE_BOOST_LAMBDA +#if HAVE_BOOST_LAMBDA_LAMBDA_HPP #include #endif @@ -226,7 +227,7 @@ find (vector const &v, T const &key) return find (v.begin (), v.end (), key); } -#if HAVE_BOOST_LAMBDA +#if HAVE_BOOST_LAMBDA_LAMBDA_HPP #include using namespace boost::lambda; template @@ -258,6 +259,7 @@ junk_pointers (vector &v) #endif /* HAVE_BOOST_LAMBDA */ vector string_split (string str, char c); +string string_join (vector const &strs, string infix); #define iterof(i,s) typeof((s).begin()) i((s).begin())