
Alex Фэils?︙
13.10.2017
16:27:14
Дык я ж говорю, шо надо пропосал пилить?
Спер в @ProCxxNews
Вот жалко checked не впилили
В жабе удобно было в этом

Google

Friedrich
13.10.2017
16:32:39
В жабе отвратно было.
Представь такую ситуацию: ты вызываешь какой-нибудь std::transform и передаёшь туда лямбду. Исключения у тебя checked, и поэтому ты из этой лямбды ничего не можешь выкинуть :(
(если в стандартной либе, конечно, нет разных перегрузок у трансформа)

Ilia
13.10.2017
16:33:33

Aidar
13.10.2017
16:33:52
Чекед не нужны
Там где вы хотите чекед просто надо возвращать статус

Friedrich
13.10.2017
16:34:23
В жабе к тому ж тупо сделали, что бросаемые исключения нельзя делать параметрами генерика, и нельзя по ним делать перегрузку. Если в плюсцах эти проблемы устранить и сделать обратно-совместимое со старым кодом решение — то может получиться что-нибудь интересное.

Ilia
13.10.2017
16:35:01
Ну да, мне кажется, что они просто убивают идею исключений этим.

Alex Фэils?︙
13.10.2017
16:35:28
template <typename Exc> void transform throws(Exc) {}

Ilia
13.10.2017
16:35:50
Я всегда в Java пишу void someFoo() throws Exception —- и привет...
(или там Throwable...)

Alex Фэils?︙
13.10.2017
16:36:35
Ага, забавный хак

Ilia
13.10.2017
16:37:42
Не всегда прокатывает, к сожалению...

Google

Vlad
13.10.2017
16:43:09
/cppref

FailsBot
13.10.2017
16:43:13
http://en.cppreference.com/w/cpp/types/is_base_of

fox.cpp
13.10.2017
16:43:20
/cppref говнокод


FailsBot
13.10.2017
16:43:22
Search results for "говнокод"
1. History of C++
2. std::atomic::operator T
3. std::atomic_int::operator T
4. std::cauchy_distribution::a
5. std::cauchy_distribution::b
6. std::atomic_bool::operator T
7. std::atomic_long::operator T
8. std::atomic_uint::operator T
9. std::weibull_distribution::a
10. std::weibull_distribution::b
11. std::atomic_llong::operator T
12. std::atomic_schar::operator T
13. std::atomic_short::operator T
14. std::atomic_uchar::operator T
15. std::atomic_ulong::operator T
16. std::binomial_distribution::p
17. std::binomial_distribution::t
18. std::fisher_f_distribution::m
19. std::fisher_f_distribution::n
20. std::atomic_int8_t::operator T
21. std::atomic_size_t::operator T
22. std::atomic_ullong::operator T
23. std::atomic_ushort::operator T
Search results for "говнокод" (Page 2)
24. std::bernoulli_distribution::p
25. std::geometric_distribution::p
26. std::lognormal_distribution::m
27. std::lognormal_distribution::s
28. std::student_t_distribution::n
29. std::atomic_int16_t::operator T
30. std::atomic_int32_t::operator T
31. std::atomic_int64_t::operator T
32. std::atomic_uint8_t::operator T
33. std::atomic_wchar_t::operator T
34. std::atomic_char16_t::operator T
35. std::atomic_char32_t::operator T
36. std::atomic_intmax_t::operator T
37. std::atomic_intptr_t::operator T
38. std::atomic_uint16_t::operator T
39. std::atomic_uint32_t::operator T
40. std::atomic_uint64_t::operator T
41. std::chi_squared_distribution::n
42. std::uniform_int_distribution::a
43. std::uniform_int_distribution::b
44. std::atomic_ptrdiff_t::operator T
45. std::atomic_uintmax_t::operator T
Search results for "говнокод" (Page 3)
46. std::atomic_uintptr_t::operator T
47. std::uniform_real_distribution::a
48. std::uniform_real_distribution::b
49. std::extreme_value_distribution::a
50. std::extreme_value_distribution::b
51. std::atomic_int_fast8_t::operator T
52. std::auto_ptr::operator auto_ptr<Y>
53. std::reference_wrapper::operator T&
54. std::atomic_int_fast16_t::operator T
55. std::atomic_int_fast32_t::operator T
56. std::atomic_int_fast64_t::operator T
57. std::atomic_int_least8_t::operator T
58. std::atomic_uint_fast8_t::operator T
59. std::atomic_int_least16_t::operator T
60. std::atomic_int_least32_t::operator T
61. std::atomic_int_least64_t::operator T
62. std::atomic_uint_fast16_t::operator T
63. std::atomic_uint_fast32_t::operator T
64. std::atomic_uint_fast64_t::operator T
65. std::atomic_uint_least8_t::operator T
66. std::atomic_uint_least16_t::operator T


Vlad
13.10.2017
16:43:25
/cppref

FailsBot
13.10.2017
16:43:26
http://en.cppreference.com/w/cpp/experimental/ranges/iterator/IndirectlyComparable

Grigor
13.10.2017
16:43:32
lol

Alexander
13.10.2017
16:45:15
тоже проорал)

Alex Фэils?︙
13.10.2017
16:45:38
Нувычо, баян же)

Ilia
13.10.2017
16:45:51
Да, качество нашего бота оставляет желать лучшего....

Alex Фэils?︙
13.10.2017
16:46:03
Это качество их вики-поиска
Он там кривоэ очень
http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search=Говнокод&button= во оцените. Это без апи

Ilia
13.10.2017
16:48:04
А где оно там "говнокод" нашло?
Феерично

Alex Фэils?︙
13.10.2017
16:48:50
Их апи работает так же. Они его сломали(

Ilia
13.10.2017
16:49:35
Оно видимо ищет в ANSI-7

Alex Фэils?︙
13.10.2017
16:49:45
Да

Google

Ilia
13.10.2017
16:49:49
А мы ему туда пихаем UTF-8

Alex Фэils?︙
13.10.2017
16:50:03
Я тоже об этом думал

Ilia
13.10.2017
16:51:00
Да
Ну, хорошо, а ты-то можешь сразу отбросить всё на русском на фиг ?
Напиши в ответ "Засунь русский себе в Ж..." и всё.
Там же изначально не может быть ничего на русском...

Alex Фэils?︙
13.10.2017
16:52:19
if (search[0] & 0x80) sendMessage("goto nahuj;");
Во

Matwey
13.10.2017
16:53:14
так есть русская версяи cppreference
ну, переведенная гугл-транслейтом

Alex Фэils?︙
13.10.2017
16:53:29
Я исчю по инглише

Ilia
13.10.2017
16:53:37
ДА напиши просто: Путин уже взломал и этот сайт.

Alex Фэils?︙
13.10.2017
16:54:29
Надо написать РßP^P;

Maxim
13.10.2017
17:00:50
Недавно читал эту статью, почему они не нужны
http://www.gotw.ca/publications/mill22.htm

Ilia
13.10.2017
17:03:46
Да блин просто исторически так сложилось, что в Плюсах никто исключения не проверял никогда.
Соответственно, компилятору надо проверять их всегда.
Только дали сейчас возможность писать nothrow и всё — тогда не будет фрейма обработки исключений.


Alexander
13.10.2017
18:01:17
Following on with the announcement before CppCon of the 1.64.0 modular
packages here we are with more. I'm pleased to announce that the 1.65.1
Boost C++ Libraries are now available individually using the Conan package
manager. There's even some improvements for the 1.64.0 package also :-)
Find out more from the Bincrafters post here <http://bit.ly/2g6VEpp>[1].
For help using the packages you can bug the Bincrafters team in the #Conan
CppLan Slack channel <http://bit.ly/2ykeqC0>[2].
Conan is a C/C++ (and more) package manager that supports an open ended set
of build system and tool integrations including: VisualStudio, Xcode,
CLion, Ninja, QMake, Premake, and yes even CMake <http://bit.ly/2xzhpbg>[3].
[1] <https://bincrafters.github.io/2017/10/13/Conan-Packages-Boost-1-65-1/>
[2] <https://cpplang.now.sh/>
[3] <http://docs.conan.io/en/latest/integrations.html>
--
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net


Berkus
13.10.2017
18:11:06
о.к.

Alex Фэils?︙
13.10.2017
18:18:21
О. Номер 3

Давид
13.10.2017
18:20:59
ага
3 ак

Admin
ERROR: S client not available

Давид
13.10.2017
18:21:33
хлчу своой @david363 назад

fox.cpp
13.10.2017
18:22:51
мне интересно, а зачем conan на практике нужен

Google

fox.cpp
13.10.2017
18:22:58
что-то не могу надумать, в каком кейсе он удобен
мб какой-нибудь убедительный видос с конфы есть?

Alexander
13.10.2017
18:24:16
Зе срач бегинс
а как ты подтягиваешь зависимости в твой проект на крестах?
видосов полным полно - просто на ютубе вбей Филонов Конан. И там будет. Можно и забугорных товарищей

fox.cpp
13.10.2017
18:26:06
есть какие-то очевидные пробелмы в этом подходе?

Berkus
13.10.2017
18:26:14

Alexander
13.10.2017
18:26:42

Berkus
13.10.2017
18:26:43

Alexander
13.10.2017
18:26:53

fox.cpp
13.10.2017
18:27:31

Berkus
13.10.2017
18:28:05

Vitaly
13.10.2017
18:28:14

fox.cpp
13.10.2017
18:28:27

Berkus
13.10.2017
18:28:27

Vitaly
13.10.2017
18:28:42

fox.cpp
13.10.2017
18:28:49
ну я как-то не тыкался в сборку софта под виндой, судя по тому, что я слышу здесь — там всё плохо

Berkus
13.10.2017
18:29:09

Google

Berkus
13.10.2017
18:29:22
сделать эту часть генерик и вынести в отдельную прогу звучит разумно
для cmake есть hunter который должен это делать но он пока что ой

fox.cpp
13.10.2017
18:29:35
хорошо, conan имеет место быть под виндой, где с зависимостями туго

Vitaly
13.10.2017
18:29:54

Alexander
13.10.2017
18:30:03