*
* LyX, The Document Processor
*
- * Copyright (C) 1995 Matthias Ettrich
- * Copyright (C) 1995-1998 The LyX Team.
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2000 The LyX Team.
*
- *======================================================*/
+ * ====================================================== */
// This one is heavily based on the substring class in The C++
// Programming Language by Bjarne Stroustrup
///
LSubstring(string & s, size_type i, size_type n);
///
- LSubstring(string & s, string & s2);
+ LSubstring(string & s, string const & s2);
///
- LSubstring(string & s, string::value_type * p);
+ LSubstring(string & s, string::value_type const * p);
///
- LSubstring(string & s, LRegex & r);
+ LSubstring(string & s, LRegex const & r);
///
LSubstring & operator=(string const &);
///
LSubstring & operator=(string::value_type);
///
operator string() const;
-#if 0
- ///
- operator char const * () const;
-#endif
private:
///
string * ps;