search for: random_shuffle

Displaying 6 results from an estimated 6 matches for "random_shuffle".

2017 Apr 10
10
RFC: Plan for removing components from namespace std::experimental
...5.0 will support C++17. So, for LLVM 7.0, we will remove (at least) the following features from libc++ * std::experimental::filesystem * std::experimental::optional * std::experimental::any * std::experimental::string_view * the searchers (std::experimental::boyer_moore, etc) * std::experimental::random_shuffle and probably other things... Comments? -- Marshall -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170410/9f0ed5e5/attachment-0001.html>
2018 Jan 04
0
RFC: Plan for removing components from namespace std::experimental
...LVM 7.0, we will remove (at least) the following features from > libc++ > * std::experimental::filesystem > * std::experimental::optional > * std::experimental::any > * std::experimental::string_view > * the searchers (std::experimental::boyer_moore, etc) > * std::experimental::random_shuffle > > and probably other things... > > Now that we have branched for 6.0, we can do this. ;-) I'll be rolling out details this week .... -- Marshall -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachment...
2017 Apr 10
2
[cfe-dev] RFC: Plan for removing components from namespace std::experimental
...the following features from > > libc++ > > * std::experimental::filesystem > > * std::experimental::optional > > * std::experimental::any > > * std::experimental::string_view > > * the searchers (std::experimental::boyer_moore, etc) > > * std::experimental::random_shuffle > > Should we throw [[deprecated("use std::filesystem")]] and such on these > things in the window between the non-experimental version being released > and the experimental one being removed? > > > and probably other things... > > > > Comments? > >...
2010 May 11
0
[LLVMdev] New libc++ LLVM Subproject
On Tuesday 11 May 2010 15:43:21 Chris Lattner wrote: > Hi All, > > LLVM now includes a C++ standard library, written by Howard Hinnant. You > can read about it here: > http://blog.llvm.org/2010/05/new-libc-c-standard-library.html > > Or get the code here: > svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx > > If you have questions or comments, please
2010 May 12
2
[LLVMdev] New libc++ LLVM Subproject
...; int main() { typedef std::vector<int> V; V v; const int N = 100000000; for (int i = 0; i < N; ++i) v.push_back(i); for (int i = N; i > 0;) { i -= N/10; int j = v[i]; v.erase(v.begin() + i); v.push_back(j); } std::random_shuffle(v.begin() + 9 * v.size() / 10, v.end()); // How long does it take to resort a vector when // only the last 90% is unsorted? std::time_t t0 = std::time(0); std::sort(v.begin(), v.end()); std::time_t t1 = std::time(0); std::cout << difftime(t1, t0) << " sec...
2010 May 11
9
[LLVMdev] New libc++ LLVM Subproject
Hi All, LLVM now includes a C++ standard library, written by Howard Hinnant. You can read about it here: http://blog.llvm.org/2010/05/new-libc-c-standard-library.html Or get the code here: svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx If you have questions or comments, please direct them to one of the clang mailing lists. Thanks! -Chris