[GSoC] HTTP library traits
Hi, I've been working on the HTTP library that will later be proposed to inclusion on Boost. I still don't have a working example to show and some uncommited and incomplete changes to documentation generation (still learning QuickBook) and changes to the acceptor (don't bother to ask) are laying around on my system. I can hunt all these on my all and I'll ask for design ideas later. The reason for this email is to ask for help from template meta programming ninjas to rate the skel of my traits implementation. It took me a whole day (first time I had the opportunity to play with SFINAE) to write this and I don't know if I'm following good practices or so on: - https://github.com/BoostGSoC14/boost.http/blob/b9c596249e39eea26fe1b59377ccc... - https://github.com/BoostGSoC14/boost.http/blob/b9c596249e39eea26fe1b59377ccc... -- Vinícius dos Santos Oliveira https://about.me/vinipsmaker
2014-05-21 15:05 GMT+08:00 Vinícius dos Santos Oliveira
Hi,
I've been working on the HTTP library that will later be proposed to inclusion on Boost.
I still don't have a working example to show and some uncommited and incomplete changes to documentation generation (still learning QuickBook) and changes to the acceptor (don't bother to ask) are laying around on my system. I can hunt all these on my all and I'll ask for design ideas later.
The reason for this email is to ask for help from template meta programming ninjas to rate the skel of my traits implementation. It took me a whole day (first time I had the opportunity to play with SFINAE) to write this and I don't know if I'm following good practices or so on:
- https://github.com/BoostGSoC14/boost.http/blob/b9c596249e39eea26fe1b59377ccc... - https://github.com/BoostGSoC14/boost.http/blob/b9c596249e39eea26fe1b59377ccc...
I would like a header only library
-- Vinícius dos Santos Oliveira https://about.me/vinipsmaker
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
2014-05-21 14:56 GMT-03:00 microcai
I would like a header only library
Well, the linked source file is for a test, but we can decide later which approach is more attractive anyway. I'd like to focus the first discussions on the design/interface only. I only opened an exception here to ask for help on the definition of concepts/traits (check if a type meets the requirements for a http_socket, for things like has member X and the return type is Y...). -- Vinícius dos Santos Oliveira https://about.me/vinipsmaker
2014-05-21 4:05 GMT-03:00 Vinícius dos Santos Oliveira < vini.ipsmaker@gmail.com>:
The reason for this email is to ask for help from template meta programming ninjas to rate the skel of my traits implementation.
Felipe Almeida contacted me in private and discussed some ideas to improve the definition. The problem is solved: https://github.com/BoostGSoC14/boost.http/commit/6b7dc4be36b8797d50698128344... Now the code is way cleaner and following requirements for the http_socket concept will follow the same ideas. -- Vinícius dos Santos Oliveira https://about.me/vinipsmaker
participants (2)
-
microcai
-
Vinícius dos Santos Oliveira