react-native/ReactCommon
Lukas Piatkowski bd524bd6e8 BREAKING: Change the toValue in JSCExecutor to ValueEncoder<T>::toValue
Summary:
The C++ standard requires that when a function is used in a template it's prototype needs to be defined not only before the template specialization, but also before the template itself.

Because of that one needs to (in certain compilers) be aware of the proper order of includes so that the function prototype is defined before the JSCExecutor.h is included.

As a workaround the toValue might be written as a template (ValueEncoder<T>::toValue) defined in JSCExecutor.h instead of being an non-existing symbol.
Thanks to that the JSCExecutor.h does not have to be included before the specialization of the ValueEncoder template.

Reviewed By: mhorowitz

Differential Revision: D4182724

fbshipit-source-id: 9bdf239ae66ef7a7d2c82daf7db5926472687bde
2016-11-24 09:28:29 -08:00
..
CSSLayout Fixup recent fix to flex basis and put it behind an experimental flag 2016-11-23 05:28:48 -08:00
cxxreact BREAKING: Change the toValue in JSCExecutor to ValueEncoder<T>::toValue 2016-11-24 09:28:29 -08:00
inspector Remove supported platforms from JSC and all the things that depends on it 2016-11-21 16:43:31 -08:00
jschelpers Export some RN functs 2016-11-24 05:43:38 -08:00
microprofiler Create headers symlinks for FBReactKit 2016-09-30 14:28:41 -07:00