*** empty log message ***
[lilypond/patrick.git] / flower / include / string.icc
blob86b203665040c94aacfb633fb03b37506f8b7c2e
1 /*
2   string.icc -- implement String inlines
4   source file of the Flower Library
6   (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
9 #ifndef STRING_ICC
10 #define STRING_ICC
12 INLINE
13 char &
14 String::operator [] (int n)
16   return (char &) strh_[n];
19 INLINE
20 char
21 String::operator [] (int n) const
23   return strh_[n];
26 INLINE
27 String::String ()
31 INLINE
32 String::String (char const *source)
34   assert (source);
35   strh_ = source;
38 #endif /* STRING_ICC */