Giter Site home page Giter Site logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 29, 2024
I have the same in Visual Studio 2012 Update 1.

Original comment by [email protected] on 8 Feb 2013 at 1:21

from cpp-btree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 29, 2024
Obs.: I was using the source code v1.0.1

Original comment by [email protected] on 8 Feb 2013 at 1:24

from cpp-btree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 29, 2024
OK, I'm re-installing my Windows machine at the moment. Please keep me posted, 
I'll catch up with you eventually.

Original comment by [email protected] on 9 Feb 2013 at 7:21

from cpp-btree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 29, 2024

Original comment by [email protected] on 9 Feb 2013 at 7:21

  • Changed state: Accepted

from cpp-btree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 29, 2024
Do not very understanding the code : 
staitc key_compare key_compare_helper() with its comment, is that OK ? cuz 
operator() does required an object setup, why not just init an object 
key_compare ?
// A never instantiated helper function that returns the key comparison
// functor.

if I use 'key_compare()' itself not this method, thus vs2012 won't report 
error. but that's may NOT the intent of the original wanna ...  maybe it would 
support n > 2 ??

Original comment by [email protected] on 14 Feb 2013 at 4:11

from cpp-btree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 29, 2024
I kept the code as close to the original as possible adding .operator() after 
key_compare_helper() , getting

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

Original comment by [email protected] on 4 Aug 2013 at 8:50

from cpp-btree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.