
Hi All, Some (rather long) time ago there were some talks and some code written about LINQ-like feature for C++, notably one named boost.qlang. Were there any followups ? Is there any equivalent in other libraries ? The original thread: http://boost.2283326.n4.nabble.com/C-LINQ-is-cool-What-about-boost-qlang-td2... Thanks for any help, Julien

On Mon, Aug 15, 2011 at 15:48, Julien Nitard
Hi All,
Some (rather long) time ago there were some talks and some code written about LINQ-like feature for C++, notably one named boost.qlang.
Were there any followups ? Is there any equivalent in other libraries ?
The more recent related discussion was about CPPDB if I remember correctly : http://art-blog.no-ip.info/sql/cppdb/ The author is the boost::locale author and both cppdb and boost::locale are part of cppcms http://cppcms.sourceforge.net/wikipp/en/page/main The discussion was http://boost.2283326.n4.nabble.com/SQL-Connectivity-Is-Boost-interested-in-C... There were discussions about SOCI and other alternatives too. Joël Lamotte

2011/8/15 Julien Nitard
Hi All,
Some (rather long) time ago there were some talks and some code written about LINQ-like feature for C++, notably one named boost.qlang.
Were there any followups ? Is there any equivalent in other libraries ?
Not sure. Maybe Boost.Range + Boost.Phoenix can provide the same expressivity. A example is attached (modified from the original attachment).

http://www.webtoolkit.eu/wt/doc/tutorial/dbo/tutorial.html: EmWeb's wt::dbo
is kinda not really linq like, but does get you reasonable db access in a
c++ strongly typed environment. DDL is embedded in c++ types, and works
with sqlite and postgresql. Some very clever coding behind the scenes to
make things 'just work'.
2011/8/15 Julien Nitard
participants (4)
-
Julien Nitard
-
Klaim - Joël Lamotte
-
Raymond Burkholder
-
TONGARI