Fix code snippet in comment (#174)
This commit is contained in:
		
							parent
							
								
									5aae0cffae
								
							
						
					
					
						commit
						5441bbe1db
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -456,7 +456,7 @@ class LayoutImpl<std::tuple<Elements...>, absl::index_sequence<SizeSeq...>,
 | 
				
			||||||
  //
 | 
					  //
 | 
				
			||||||
  //   // int[3], 4 bytes of padding, double[4].
 | 
					  //   // int[3], 4 bytes of padding, double[4].
 | 
				
			||||||
  //   Layout<int, double> x(3, 4);
 | 
					  //   Layout<int, double> x(3, 4);
 | 
				
			||||||
  //   unsigned char* p = unsigned char[x.AllocSize()];
 | 
					  //   unsigned char* p = new unsigned char[x.AllocSize()];
 | 
				
			||||||
  //   int* ints = x.Pointer<0>(p);
 | 
					  //   int* ints = x.Pointer<0>(p);
 | 
				
			||||||
  //   double* doubles = x.Pointer<1>(p);
 | 
					  //   double* doubles = x.Pointer<1>(p);
 | 
				
			||||||
  //
 | 
					  //
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue