OSDN Git Service

何故コンパイルエラー…
authorMyun2 <myun2@nwhite.info>
Mon, 28 May 2012 07:27:18 +0000 (16:27 +0900)
committerMyun2 <myun2@nwhite.info>
Mon, 28 May 2012 07:27:18 +0000 (16:27 +0900)
roast/include/roast/net/uri.hpp
roast/include/roast/net/url.hpp

index 852d293..737a2b9 100644 (file)
@@ -233,14 +233,14 @@ namespace roast
        class uri_net_path_with_scheme : public uri_net_path_<_Scheme, _Host, _UserInfo, _Port, _Path>
        {
        public:
-               uri_net_path_with_scheme_()
-               uri_net_path_with_scheme_(const _Host& host_in, const _Path& path_in="/")
+               uri_net_path_with_scheme(){}
+               uri_net_path_with_scheme(const _Host& host_in, const _Path& path_in="/")
                        : (_Scheme(), host_in, path_in ) {}
-               uri_net_path_with_scheme_(const _Host& host_in, const _Path& path_in, const _UserInfo& username_in)
+               uri_net_path_with_scheme(const _Host& host_in, const _Path& path_in, const _UserInfo& username_in)
                        : (_Scheme(), host_in, path_in, username_in ) {}
-               uri_net_path_with_scheme_(const _Host& host_in, const _Path& path_in, const _Port& port_no_in)
+               uri_net_path_with_scheme(const _Host& host_in, const _Path& path_in, const _Port& port_no_in)
                        : (_Scheme(), host_in, path_in, port_no_in ) {}
-               uri_net_path_with_scheme_(const _Host& host_in, const _Path& path_in, const _UserInfo& username_in, const _Port& port_no_in)
+               uri_net_path_with_scheme(const _Host& host_in, const _Path& path_in, const _UserInfo& username_in, const _Port& port_no_in)
                        : (_Scheme(), host_in, path_in, username_in, port_no_in ) {}
        };
        
index 4b94255..b859ec6 100644 (file)
@@ -10,7 +10,6 @@
 
 namespace roast
 {
-       /*
        template <
                typename _Scheme,
                typename _Host = lexical::string,
@@ -21,7 +20,7 @@ namespace roast
        class url : public uri_net_path_with_scheme<_Scheme, _Host, _UserInfo, _Port, _Path>
        {
        public:
-               url()
+               url(){}
                url(const _Host& host_in, const _Path& path_in="/")
                        : (host_in, path_in ) {}
                url(const _Host& host_in, const _Path& path_in, const _UserInfo& username_in)
@@ -30,8 +29,9 @@ namespace roast
                        : (host_in, path_in, port_no_in ) {}
                url(const _Host& host_in, const _Path& path_in, const _UserInfo& username_in, const _Port& port_no_in)
                        : (host_in, path_in, username_in, port_no_in ) {}
-       };*/
+       };
        
+       /*
        template <
                typename _Scheme,
                typename _Host = lexical::string,
@@ -42,7 +42,7 @@ namespace roast
        class url : public uri_net_path_<_Scheme, _Host, _UserInfo, _Port, _Path>
        {
        public:
-               url()
+               url(){}
                url(const _Host& host_in, const _Path& path_in="/")
                        : (_Scheme(), host_in, path_in ) {}
                url(const _Host& host_in, const _Path& path_in, const _UserInfo& username_in)
@@ -51,7 +51,7 @@ namespace roast
                        : (_Scheme(), host_in, path_in, port_no_in ) {}
                url(const _Host& host_in, const _Path& path_in, const _UserInfo& username_in, const _Port& port_no_in)
                        : (_Scheme(), host_in, path_in, username_in, port_no_in ) {}
-       };
+       };*/
 }
 
 #endif//__SFJP_ROAST__net__url_HPP__