Author |
Topic  |
|
zeroes00
Junior Member
 
17 Posts |
Posted - Apr 06 2012 : 11:39:56 AM
|
The word "value" gets often (usually) colored as a class, like for example if I use value as a function name: int value();
...or if I use value as a variable name: int value = 123;
I'm using C++ and I can't find a class named "value" being included in any of the headers. |
|
feline
Whole Tomato Software
    
United Kingdom
19136 Posts |
Posted - Apr 06 2012 : 12:48:18 PM
|
Can you please add the line:
// value
to one of your cpp files, and then place the caret in "value" and press Alt-g. What results are you given? Since this is a comment, VA should list all definitions if value that it knows, and one or more of these is likely to look like a class or other type.
Doing this here, I am getting a couple of results from the Boost library that may well explain this colouring. |
zen is the art of being at one with the two'ness |
 |
|
zeroes00
Junior Member
 
17 Posts |
Posted - Apr 06 2012 : 2:41:08 PM
|
When I press Alt + G with caret on // value, the caret jumps to a boost file: C:\\Boost\\include\\boost-1_49\\boost\\type_traits\\is_complex.hpp
... on the word "value" on a line 28 which reads: BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_complex,T,(::boost::is_convertible<T, boost::detail::is_convertible_from_tester>::value)) |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19136 Posts |
Posted - Apr 10 2012 : 9:19:04 PM
|
Thank you for trying this, I am seeing similar effects here. It turns out this is a known issue:
case=37888
which is related to VA's managed C++ support. |
zen is the art of being at one with the two'ness |
 |
|
sean
Whole Tomato Software
    
USA
2817 Posts |
Posted - Feb 26 2014 : 10:40:11 AM
|
case=37888 is fixed in build 2029 |
 |
|
|
Topic  |
|