Article View: pl.comp.lang.c
Article #309801Re: Moduły C++
From: Borneq
Date: Fri, 18 Jan 2019 09:47
Date: Fri, 18 Jan 2019 09:47
21 lines
1614 bytes
1614 bytes
On 17.01.2019 16:16, Borneq wrote:
> Czy standard opisany w
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/n4720.pdf
> zgadza się z
> https://gcc.gnu.org/wiki/cxx-modules
> https://gcc.gnu.org/svn/gcc/branches/c++-modules/
>
> ?
i http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4637.pdf
W Visualu już jest, inaczej niż propozycja GCC, nawet by się kompilowało
import std.core;
int main() {
using namespace std;
vector<string> v{ "Plato", "Descartes", "Bacon" };
copy(v.begin(), v.end(), ostream_iterator<string>(cout, "\n"));
}
ale nie może znaleźć std.core, jest jakiś problem jak z templatami
zresztą , interesowały by mnie bardziej moduły clanga, bo wtedy działało
by to i pod Linuxem.
Technical Details
Message-ID:
<q1s7bp$mtf$1@node2.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<q1q67n$9dr$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.c Subject: Re: Moduły C++ Date: Fri, 18 Jan 2019 10:47:40 +0100 Organization: ATMAN - ATM S.A. Lines: 21 Message-ID: <q1s7bp$mtf$1@node2.news.atman.pl> References: <q1q67n$9dr$1@node1.news.atman.pl> NNTP-Posting-Host: public-gprs361740.centertel.pl Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1547804857 23471 37.47.44.77 (18 Jan 2019 09:47:37 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Fri, 18 Jan 2019 09:47:37 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 In-Reply-To: <q1q67n$9dr$1@node1.news.atman.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit