| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_UTIL_H_ | 5 #ifndef V8_UTIL_H_ |
| 6 #define V8_UTIL_H_ | 6 #define V8_UTIL_H_ |
| 7 | 7 |
| 8 #include "v8.h" | 8 #include "v8.h" // NOLINT(build/include) |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 /** | 12 /** |
| 13 * Support for Persistent containers. | 13 * Support for Persistent containers. |
| 14 * | 14 * |
| 15 * C++11 embedders can use STL containers with Global values, | 15 * C++11 embedders can use STL containers with Global values, |
| 16 * but pre-C++11 does not support the required move semantic and hence | 16 * but pre-C++11 does not support the required move semantic and hence |
| 17 * may want these container classes. | 17 * may want these container classes. |
| 18 */ | 18 */ |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 return reinterpret_cast<V*>(v); | 634 return reinterpret_cast<V*>(v); |
| 635 } | 635 } |
| 636 | 636 |
| 637 Isolate* isolate_; | 637 Isolate* isolate_; |
| 638 typename Traits::Impl impl_; | 638 typename Traits::Impl impl_; |
| 639 }; | 639 }; |
| 640 | 640 |
| 641 } // namespace v8 | 641 } // namespace v8 |
| 642 | 642 |
| 643 #endif // V8_UTIL_H | 643 #endif // V8_UTIL_H |
| OLD | NEW |