Giter Site home page Giter Site logo

zaf's People

Contributors

zplutor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zaf's Issues

VS 2015 compilation issue

I get the error while trying to compile the project in VS 2015:

file: propert_map.h
line: 39

iterator = properties_.insert(std::make_pair(property_name, default_property)).first;

resulted in:

c:\program files (x86)\microsoft visual studio 14.0\vc\include\utility(329): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to '_Mypair'

c:\program files (x86)\microsoft visual studio 14.0\vc\include\utility(329): note: No constructor could take the source type, or constructor overload resolution was ambiguous

d:\allthatjazz\vs\projects\zaf-master\src\zaf\base\property_map.h(39): note: see reference to function template instantiation 'std::pair<std::wstring,PropertyType> std::make_pair<const std::wstring&,PropertyType&>(_Ty1,_Ty2)' being compiled
          with
          [
              PropertyType=zaf::ClickableControl::ClickEvent,
              _Ty1=const std::wstring &,
              _Ty2=zaf::ClickableControl::ClickEvent &
          ]

I'm not a big C++ expert so could you please help me with this.
Regards.

代码笔误?

character_format_.cbSize = sizeof(character_format_);
character_format_.dwMask |= CFM_PROTECTED;
character_format_.dwEffects |= CFM_PROTECTED;   -->  CFE_PROTECTED?

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.