Skip to content

COMPILE_ASSERT problem #22

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
Compile using MSVC 2013

What is the expected output? What do you see instead?
Compilation failed!

What version of the product are you using? On what operating system?

Windows 7(64) + MSVC 2013


Please provide any additional information below.

Compile error:

btree.h(1401) : error C2118: Negative subscript
That is the 

COMPILE_ASSERT(
      sizeof(key_compare_checker(key_compare_helper()(key_type(), key_type()))) ==
      sizeof(big_),
      key_comparison_function_must_return_bool);

Original issue reported on code.google.com by [email protected] on 22 Dec 2013 at 3:49

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions