mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Extract VariantProxy from ElementProxy and MemberProxy
				
					
				
			This commit is contained in:
		| @@ -184,12 +184,13 @@ TEST_CASE("Polyfills/type_traits") { | ||||
|     CHECK((is_convertible<VariantRef, JsonVariantConst>::value == true)); | ||||
|     CHECK((is_convertible<VariantConstRef, JsonVariantConst>::value == true)); | ||||
|     CHECK((is_convertible<ArrayRef, JsonVariantConst>::value == true)); | ||||
|     CHECK((is_convertible<ElementProxy<ArrayRef>, JsonVariantConst>::value == | ||||
|            true)); | ||||
|     CHECK((is_convertible<VariantProxy<ElementDataSource<ArrayRef> >, | ||||
|                           JsonVariantConst>::value == true)); | ||||
|     CHECK((is_convertible<ArrayConstRef, JsonVariantConst>::value == true)); | ||||
|     CHECK((is_convertible<ObjectRef, JsonVariantConst>::value == true)); | ||||
|     CHECK((is_convertible<MemberProxy<ObjectRef, const char*>, | ||||
|                           JsonVariantConst>::value == true)); | ||||
|     CHECK( | ||||
|         (is_convertible<VariantProxy<MemberDataSource<ObjectRef, const char*> >, | ||||
|                         JsonVariantConst>::value == true)); | ||||
|     CHECK((is_convertible<ObjectConstRef, JsonVariantConst>::value == true)); | ||||
|     CHECK( | ||||
|         (is_convertible<DynamicJsonDocument, JsonVariantConst>::value == true)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user