Anonymous avatar Anonymous committed 6482d80

Fixed bizarre header interaction.

Including variant.h at the bottom of bstr.h prevented datetime.h from compiling on its own! Removed the include as well as several unused forward-decls. Added a test case to verify this works.

Comments (0)

Files changed (3)


 namespace comet {
-	class datetime_t;
-	class currency_t;
-	template<typename T> class com_ptr;
-	template<typename T> class safearray_t;
-	// Forward declaration
-//	class variant_t;
 #define	 NORM_IGNOREKASHIDA 0x00040000
 			assign(first, last);
-//		bstr_t(const variant_t& v) throw(std::bad_alloc);
 		explicit bstr_t(const uuid_t& u, bool braces = false)
 			construct(u, braces);
 		/// \name Boolean operators
-/*		bool operator!=(const variant_t&) const;
-		bool operator==(const variant_t&) const;
-		bool operator<(const variant_t&) const;
-		bool operator>(const variant_t&) const;
-		bool operator<=(const variant_t&) const;
-		bool operator>=(const variant_t&) const;
 		bool operator==(const wchar_t* s) const
 		{ return 0 == wcscmp(c_str(), impl::null_to_empty(s) ) && is_regular(); }
 	template<> inline void swap( comet::bstr_t& x, comet::bstr_t& y) COMET_STD_SWAP_NOTHROW { x.swap(y); }
-#include <comet/variant.h>
 #include <comet/uuid.h>
 #pragma warning(pop)


+				RelativePath="test16.cpp"
+				>
+			</File>
+			<File


+#include <comet/datetime.h>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.