Jason Turner db34899225 Address msvc issues with #167 #165
The best we can get it down to is 2 moves in MSVC, it does not
elide the moves/copies as well as GCC and Clang do

It's not possible for us to support registering of array types in
MSVC12, but we can in MSVC14 with the latest release of the
compiler.
2015-04-18 20:51:45 -06:00
..
3.x Make reflection API part of stdlib 2014-08-27 12:05:03 -06:00
arithmetic_conversions_test.cpp Merge remote-tracking branch 'origin/release-4.x' 2014-03-29 07:30:14 -06:00
array_types.chai Add array type support #167 2015-04-17 20:02:09 -06:00
assign_const.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
bind2.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
bind.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
block_start.chai Add some missing unit tests for number formats and block starting 2009-10-14 12:25:21 +00:00
bool_not.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
boxed_cast_test.cpp Memory leak error fixes. Various compiler fixes. 2015-01-15 15:42:35 -07:00
break_for.chai Add 'continue' command for loops. Also enhance for() unit tests which are now breaking and need to be fixed 2013-02-23 14:49:20 -07:00
break_while.chai Clean up tab vs space issues 2014-05-23 09:56:55 -06:00
c_linkage_test.cpp Spelling fixes, phase 1. 2014-05-29 20:16:47 -06:00
char_init.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
class.chai Add class keyword for easier user defined types. 2014-08-22 21:11:49 -06:00
classification.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
collate.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
compare_gt.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
compare_lt.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
concat.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
const_range_test.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
continue_for.chai Add 'continue' command for loops. Also enhance for() unit tests which are now breaking and need to be fixed 2013-02-23 14:49:20 -07:00
continue_while.chai Add 'continue' command for loops. Also enhance for() unit tests which are now breaking and need to be fixed 2013-02-23 14:49:20 -07:00
convert_double_string.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
convert_int_string.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
convert_string_double.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
convert_string_int.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
cpp_lambda_test.cpp Move to using the new constructor that searched for the stdlib 2012-06-04 07:31:20 -06:00
deep_array_lookup.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
dispatch_functions.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
divide_by_zero_protection.chai Make sure floating point returns Infinity 2015-01-09 20:20:38 -07:00
drop_while.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
drop.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
dynamic_object_test.cpp Remove uses of std::endl, which imply a flush 2014-11-13 10:13:51 -07:00
empty.chai Closing issue #99 : shared const char * memory issues. Also, clean up some file loading overhead (did not seem to have an performance impact). 2010-11-05 22:01:39 +00:00
equ_shortform.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
eval_catch_exception_test.cpp Remove uses of std::endl, which imply a flush 2014-11-13 10:13:51 -07:00
eval_error.chai Make reflection API part of stdlib 2014-08-27 12:05:03 -06:00
eval_file.chai Fix errors with eval/use of scripts 2015-04-10 08:20:30 -06:00
eval.chai Add the ability to get the return value from 'use' 2015-04-08 08:17:33 -06:00
even.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
exception_finally.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
exception_guards.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
exception_typed_2.chai Add typed exception unit tests 2015-01-13 14:08:46 -07:00
exception_typed.chai Add typed exception unit tests 2015-01-13 14:08:46 -07:00
exception.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
expected_eval_errors_test.cpp Spelling fixes, phase 1. 2014-05-29 20:16:47 -06:00
filter.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
float.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
foldl.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
for_each_range.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
for_each_retro.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
for_each.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
for.chai Merge branch 'master' into ChaiScript_5_0_CPP_11 2013-02-23 21:37:50 -07:00
function_array_adjacent.chai Fix parsing of member access and function calls 2011-06-13 07:43:51 -07:00
function_introspection.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
function_ordering_test.cpp Move to using the new constructor that searched for the stdlib 2012-06-04 07:31:20 -06:00
function_reassignment.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
function_redefinition.chai Syntax updates to a few unit tests. 2012-05-17 10:27:26 -07:00
functor_cast_test.cpp Clean up more warnings with stricter warning levels 2015-01-15 14:24:39 -07:00
functor_creation_test.cpp Move to using the new constructor that searched for the stdlib 2012-06-04 07:31:20 -06:00
future.chai Add test for number of moves/copies made 2015-04-12 19:20:24 -06:00
generate_range.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
global_const_in_module.chai Add ability to provide global consts in Module objects. Issue #14 2011-09-09 16:52:32 -06:00
global_in_script.chai Allow user to add globals from within script. 2014-05-29 20:44:05 -06:00
hashbang.chai Add unit test for ignoring hash bang. 2012-05-18 08:43:03 -07:00
heap_allocated_chaiscript_test.cpp Add unit test to make sure heap allocation of chai works 2014-02-26 10:51:31 -07:00
if_else.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
if_elseif_else.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
if_elseif.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
if.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
index_operator.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
inheritance.chai Merge remote-tracking branch 'origin/release-4.x' into develop 2014-04-22 19:52:01 -06:00
instring_eval_more.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
instring_eval.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
integer_literal_test.cpp Remove uses of std::endl, which imply a flush 2014-11-13 10:13:51 -07:00
invalid_function_assignment.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
invalid_function_reassignment.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
is_undef.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
join.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
lambda.chai Add failing lambda test with bind variable 2015-03-21 19:52:03 -06:00
list_push_back.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
list_push_front.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
load_module.chai Add example of wrapping data members of a class #79 2013-02-24 15:11:06 -07:00
logical_short_circuiting.chai Fix errors with eval/use of scripts 2015-04-10 08:20:30 -06:00
loop_inner_outer.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
malformed_inline_map.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
map_access.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
map_count.chai Add unit test for calling 'count' on const map object. #90 2013-11-27 09:28:23 -07:00
map_inplace_init.chai Merge branch 'master' into 2011-09-09-CxScript 2012-05-21 10:47:12 -06:00
map.chai Add insert and insert_ref methods to "map" types 2012-09-26 12:38:32 -06:00
math_add_mixed.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
math_add.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
math_dec.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
math_div.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
math_inc.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
math_mod.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
math_mult.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
math_negate.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
math_paren.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
math_sub.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
max.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
member_variable_access.chai Add explicit tests for accessing data members of const objects 2013-09-27 20:19:16 -06:00
memberscope.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
method_sugar.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
min.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
mmd1.chai Clean up tab vs space issues 2014-05-23 09:56:55 -06:00
mmd2.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
multifile_test_chai.cpp Reduce cost of including chaiscript.hpp 2011-12-27 21:37:00 -07:00
multifile_test_chai.hpp Begin port to C++11 2011-09-10 06:55:27 -06:00
multifile_test_main.cpp Begin port to C++11 2011-09-10 06:55:27 -06:00
multifile_test_module.cpp Get mutlifile compilation working again and add a test for it 2010-10-22 21:30:58 +00:00
multifile_test_module.hpp Get mutlifile compilation working again and add a test for it 2010-10-22 21:30:58 +00:00
multiline_oper.chai Allow operator exprs to span lines 2012-05-20 10:47:50 -07:00
multiline.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
multithreaded_test.cpp Spelling fixes, phase 1. 2014-05-29 20:16:47 -06:00
multithreaded_work.inc Add tests for multithreaded features #55 2012-07-10 15:10:09 -06:00
null_object_access.chai Throw exception if user attempts to use null Boxed_Value 2014-09-09 13:43:05 -06:00
number_formats.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
number_suffixes.chai Add support for string::substr #75 2012-11-07 15:48:25 -07:00
object_attr_same_name.chai Fix fix for duplication attribute name errors 2012-01-30 09:16:20 -07:00
object_attr.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
object_clone.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
object_constructor_guards.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
object_copy_count_test.cpp Address msvc issues with #167 #165 2015-04-18 20:51:45 -06:00
object_lifetime_test2.cpp Fix issues found with cppcheck inconclusive 2015-01-16 10:10:14 -07:00
object_lifetime_test.cpp Get ChaiScript ported to MSVC 2013. See Notes in code. 2013-11-02 07:42:06 -06:00
object_method_guards.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
odd.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
operator_overload2.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
operator_overload.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
operator_scoping.chai Make reflection API part of stdlib 2014-08-27 12:05:03 -06:00
operators_float.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
operators_int.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
pair.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
pass_by_reference.chai Add unit test for pass_by_preference 2012-05-19 21:42:02 -06:00
pointer_passed_to_constructor.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
precedence_1.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
precedence_2.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
precedence_3.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
precedence_eq.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
product.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
range_back.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
range_contains.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
range_find.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
range_inplace.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
range.chai Add failing range test 2014-08-27 12:15:47 -06:00
reduce.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
reflection_test.chai Make reflection API part of stdlib 2014-08-27 12:05:03 -06:00
retro.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
retroretro.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
return.chai Clean up tab vs space issues 2014-05-23 09:56:55 -06:00
runtime_error.chai Modify "var" to "auto" for unit tests. 2011-09-24 12:05:08 -06:00
scoping.chai Add scoping test 2011-09-24 15:21:15 -06:00
set_state_test.cpp Add the ability to save and restore the state of local variables #25 2012-07-16 21:27:42 -06:00
shift.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
short_comparison_test.cpp Move to using the new constructor that searched for the stdlib 2012-06-04 07:31:20 -06:00
simultaneous_chaiscript_test.cpp Spelling fixes, phase 1. 2014-05-29 20:16:47 -06:00
string_charptr.chai Add string.c_str() and string.data() methods. 2010-08-05 13:38:11 +00:00
string_concat.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
string_find_first_not_of.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
string_find_first_of.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
string_find_last_not_of.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
string_find_last_of.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
string_find.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
string_init.chai First set of unit tests 2009-07-08 18:59:10 +00:00
string_literal_access.chai Fix typo in unit test and add string literal access 2011-06-13 18:14:41 -07:00
string_rfind.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
string_size.chai Add unit tests for string size() fixes #93 #95 2014-01-05 12:22:44 -07:00
string_substr.chai Add support for string::substr #75 2012-11-07 15:48:25 -07:00
sum.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
switch_break.chai Add support for switch/case/default statements. 2012-05-17 12:43:25 -07:00
switch_default.chai Add support for switch/case/default statements. 2012-05-17 12:43:25 -07:00
switch_empty.chai Oops. Properly handle empty switch statements. 2012-05-17 13:20:15 -07:00
switch_fallthru_and_break.chai Add support for switch/case/default statements. 2012-05-17 12:43:25 -07:00
switch_fallthru.chai Add support for switch/case/default statements. 2012-05-17 12:43:25 -07:00
system_introspection.chai Get system introspection functions fully working 2012-05-18 16:25:13 -06:00
take_while.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
take.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
temporary_lifetime.chai Add test and reenable function I accidentally commented out 2012-05-19 18:04:51 -06:00
ternary_condition.chai Add ternary condition (?:) operator 2012-05-20 10:17:21 -07:00
type_info_test.cpp Remove uses of std::endl, which imply a flush 2014-11-13 10:13:51 -07:00
type_info.chai Move to a more standardized unit testing design which relies less on OS support and can soon be moved to a ctest implementation 2010-03-14 05:19:24 +00:00
type_name_test.cpp Add the ability to look up user defined typenames 2014-08-17 09:05:29 -06:00
unit_test.inc Correct scope of operator calls 2012-05-24 19:25:29 -06:00
use.chai Add the ability to get the return value from 'use' 2015-04-08 08:17:33 -06:00
use.inc Add the ability to get the return value from 'use' 2015-04-08 08:17:33 -06:00
user_defined_conversions_2.chai Fix crash during user_defined_conversions_2 2014-11-02 21:37:01 -07:00
user_defined_conversions.chai Add ability to register a user defined type conversion 2014-10-28 14:52:24 -06:00
utility_test.cpp Fix test for overload registration with add_class utility 2014-03-24 14:09:20 -06:00
var_decl.chai Adding new test that is just a var decl. 2011-09-24 12:26:45 -06:00
var_ref_decl.chai Get & variable declarations working 2011-09-24 14:21:21 -06:00
variable_redefinition.chai Syntax updates to a few unit tests. 2012-05-17 10:27:26 -07:00
vector_access.chai Fixes array access with arithmetic conversions 2015-04-06 07:21:32 -06:00
vector_erase_at.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
vector_inplace_init.chai Add fixes for parsing of inplace vectors with newlines 2014-03-01 13:49:03 -07:00
vector_insert_at.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
vector_literal_acccess.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
vector_of_one.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
vector_of_suffixed_numbers.chai Correct broken unit test for vector of suffixed numbers 2013-02-23 21:27:01 -07:00
vector_paren_literal_access.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
vector_push_back.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
vector_push_empty.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
zip_with.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00
zip.chai Fixing 4.x grammar to be backward compatible. 2012-05-17 10:14:50 -07:00