- /**
- * Indicate whether there are any directory paths in m_dirs.
- *
- * If SearchPath is initialized with an empty string as the
- * result of for instance the contents of an unset environment
- * variable.
- *
- * @return true if there are any paths in m_paths.
- */
- operator void* () const { return (void*)!m_dirs.empty(); }
-
- /**
- * @return a read/write iterator that points to the first
- * path in the SearchPath. Iteration is done in ordinary
- * element order.
- */
- iterator begin () { return m_dirs.begin(); }
-
- /**
- * @return A read-only (constant) iterator that points to the
- * first path in the SearchPath.
- */
- const_iterator begin () const { return m_dirs.begin(); }
-
- /**
- * @return A read/write iterator that points one past the last
- * path in the SearchPath.
- */
- iterator end () { return m_dirs.end(); }
-
- /**
- * @return A read-only (constant) iterator that points one past
- * the last path in the SearchPath.
- */
- const_iterator end () const { return m_dirs.end(); }