Git Product home page Git Product logo

tmp's People

Contributors

brooksprumo avatar odinthenerd avatar

Stargazers

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

Watchers

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

tmp's Issues

Typedef and compatibility

Hi Odin, I hope you have a great day, I'm really impress by some of your work.

It's not really an issue, but since I'm stuck at work with GCC 4.3 -std=gnu++0x, I did some experimentation to adapt your code to this environment. To my surprise, I did manage to replace a lot of using statement to their typedef counterpart :
template<typename T,typename C = identity_> struct dispatch<1,is_<T,C>> { template<typename A> using f = typename dispatch... f<std::is_same<T,A>>;};
become
template<typename T,typename C = identity_> struct dispatch<1,is_<T,C>> { template<typename A> struct f {typedef typename dispatch... f<std::is_same<T,A>::type>::type type; };};

This add a lot of boilerplate but I was able to make it compatible with GCC 4.3 since it have variadic template. The only difference is that listify_ is now a specialization of dispatch implemented with lift_<list,C>, and I must provide typename C = listify_<> as a default template metaclosure, but it get the job done. ALso most constexpr function like find_dispatch() must be reimplemented as a uint_<(calculation ? ...)>::value.

I only remade simple construct until now and I'm seeing some progress, but I may not see the big picture on where I'll hit a wall due to some properties of using statement.
Fusion-based features were an important part of your talks, and I'm not even scratching the surface of those properties which I doubt could work at compile time under my conditions, but
it's worth a try.

My issue is about the development of this : Do you foresee problem using this method and are you interested in seeing a merge request ? I also don't know if you are rewriting things up since the number of commits is low, as you would have yet again found another template metatrick.

Thanks and I really enjoy your conference,
Remi123

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.