Youtube - CppCon 2015 Bjarne Stroustrup “Writing Good C++14”
CppCon 2015: Bjarne Stroustrup “Writing Good C++14”
```timestamp-url https://www.youtube.com/watch?v=1OEu9C51K2A ```Transcrição
04:36

07:09

08:48

10:58

11:56

19:09

19:36

Tip
The guide line Support library
array_view<T> and not_null<T>
20:15
#best-practices Some rules using GSL
I.11 Never transfer ownership by a raw pointer (T*)
- Use an ownership pointer (ex.
unique_ptr<T>) orowner<T*>
I.12 Declare a pointer that may not be the nullptr as not_null - E.g
not_null<int*>
I.12 Do no pass an array as single pointer - Use handle type, e.g
vector<T>orarray_view<T>
20:51

22:58

24:35

25:11

25:42

26:50

28:02

28:53

29:49

31:31

32:15

33:13

33:43

35:21

35:41

35:51

36:43

37:18

38:57

40:00

41:22

41:34

41:53

43:12

44:16

45:04

#interesting #author-bjarnestroustrup
48:02


50:58

54:03

55:01


57:43
End of presentation
58:41
std::own<T>
statical analysis
01:00:36
not
22:60