namespace Msp {
namespace Path {
-bool is_windows_drive(const std::string &p)
-{
- return (p.size()==2 && ((p[0]>='A' && p[0]<='Z') || (p[0]>='a' && p[0]<='z')) && p[1]==':');
-}
-
/**
Returns the number of components in the path.
*/
inline Path getcwd()
{ char buf[1024]; return ::getcwd(buf, sizeof(buf)); }
+inline bool is_windows_drive(const std::string &p)
+{ return (p.size()==2 && ((p[0]>='A' && p[0]<='Z') || (p[0]>='a' && p[0]<='z')) && p[1]==':'); }
+
} // namespace Path
} // namespace Msp