forked from eden-emu/eden
		
	common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC.
This commit is contained in:
		
							parent
							
								
									b99fc70191
								
							
						
					
					
						commit
						d9205f82b3
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -509,7 +509,11 @@ private: | |||
| 
 | ||||
| private: | ||||
|     static constexpr TypedStorage<Derived> DerivedStorage = {}; | ||||
| 
 | ||||
| #ifndef _MSC_VER | ||||
|     // TODO(bunnei): Enable on MSVC once this can be const evaluated by the compiler
 | ||||
|     static_assert(GetParent(GetNode(GetPointer(DerivedStorage))) == GetPointer(DerivedStorage)); | ||||
| #endif | ||||
| }; | ||||
| 
 | ||||
| template <auto T, class Derived = impl::GetParentType<T>> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bunnei
						bunnei