Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Where is the shared_ptr support for win32 ?



Permlink Replies: 8 - Last Post: Apr 27, 2016 6:50 PM Last Post By: Mats karlsson
trehel nicolas

Posts: 1
Registered: 12/1/07
Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 6, 2015 5:59 AM
I've found one in dinkumware64 but not in dinkumware.
Why ???????
Borja Serrano

Posts: 172
Registered: 1/10/13
Re: Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 6, 2015 7:46 AM   in response to: trehel nicolas in response to: trehel nicolas
For Win32 applications you can use the Boost libraries. The Clang compiler for Windows 32 bits (which includes an enhanced RTL more compliant with the C++ 11 standard) is in the Embarcadero roadmap but not yet available.
Sean Hoffman

Posts: 126
Registered: 3/28/99
Re: Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 6, 2015 7:53 AM   in response to: Borja Serrano in response to: Borja Serrano
Borja Serrano wrote:
For Win32 applications you can use the Boost libraries. The Clang compiler for Windows 32 bits (which includes an enhanced RTL more compliant with the C++ 11 standard) is in the Embarcadero roadmap but not yet available.

Very eloquently put. It might be useful to add, "Don't get your hopes up; we've been waiting for it since XE4 (two years ago), and even if it makes it in XE9, it's likely going to be buggier than an Amazon rainforest."
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 6, 2015 8:51 AM   in response to: trehel nicolas in response to: trehel nicolas
trehel wrote:

I've found one in dinkumware64 but not in dinkumware. Why ???????

Because std::shared_ptr is a C++11 class, and the Windows 32bit compiler
does not support C++11 yet (it is in the works). The Windows 64bit and iOS/Android
compilers do, though.

--
Remy Lebeau (TeamB)
Mats karlsson

Posts: 64
Registered: 11/8/99
Re: Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2016 5:34 PM   in response to: trehel nicolas in response to: trehel nicolas
Hello,
I'm testing C++Builder Berlin and can't find any shared_ptr for 32 bit. Is boost no longer available???

tk
trehel nicolas wrote:
I've found one in dinkumware64 but not in dinkumware.
Why ???????
Antonio Estevez

Posts: 665
Registered: 4/12/00
Re: Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2016 6:15 PM   in response to: Mats karlsson in response to: Mats karlsson
El 28/04/2016 a las 2:34, totte karlsson escribió:
Hello,
I'm testing C++Builder Berlin and can't find any shared_ptr for 32 bit. Is boost no longer available???

You can install Boost with GetIt package manager from the Tools menu
Mats karlsson

Posts: 64
Registered: 11/8/99
Re: Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2016 6:48 PM   in response to: Antonio Estevez in response to: Antonio Estevez
Antonio Estevez wrote:
El 28/04/2016 a las 2:34, totte karlsson escribió:
Hello,
I'm testing C++Builder Berlin and can't find any shared_ptr for 32 bit. Is boost no longer available???

You can install Boost with GetIt package manager from the Tools menu

Perfect! Got it.
Thanks!
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2016 6:20 PM   in response to: Mats karlsson in response to: Mats karlsson
totte wrote:

I'm testing C++Builder Berlin and can't find any shared_ptr
for 32 bit.

Which 32bit compiler are you using? The "classic" (not C++11) compiler or
the "clang" (C++11) compiler? std::shared_ptr is a C++11 feature. It should
be available in the standard <memory> header for C++11.

Is boost no longer available???

You can install it using GetIt.

--
Remy Lebeau (TeamB)
Mats karlsson

Posts: 64
Registered: 11/8/99
Re: Where is the shared_ptr support for win32 ?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2016 6:50 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:
totte wrote:

I'm testing C++Builder Berlin and can't find any shared_ptr
for 32 bit.

Which 32bit compiler are you using? The "classic" (not C++11) compiler or
the "clang" (C++11) compiler? std::shared_ptr is a C++11 feature. It should
be available in the standard <memory> header for C++11.

Thanks. I'm still using the classic one.
Got boost with get it.
Tk
Is boost no longer available???

You can install it using GetIt.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02