Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 070958fa84 | |||
| e14e0fc3ba | |||
| 3ebabcb2d8 | |||
| 63f6e7f45e | |||
| 43eac5bb12 | |||
| 74674531c8 | |||
| a4572497be | |||
| 951b49f992 | |||
| 1afed544db | |||
| 66c366d18a | |||
| 472a68c920 | |||
| 3e33d4a200 | |||
| 95c864e119 | |||
| 4669cd828c |
|
After Width: | Height: | Size: 391 B |
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 410 B |
|
After Width: | Height: | Size: 488 B |
|
After Width: | Height: | Size: 509 B |
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 507 B |
|
After Width: | Height: | Size: 446 B |
|
After Width: | Height: | Size: 431 B |
|
After Width: | Height: | Size: 441 B |
|
After Width: | Height: | Size: 423 B |
|
After Width: | Height: | Size: 431 B |
|
After Width: | Height: | Size: 397 B |
|
After Width: | Height: | Size: 434 B |
|
After Width: | Height: | Size: 420 B |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 768 B |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 741 B |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 766 B |
|
After Width: | Height: | Size: 3.8 KiB |
@@ -0,0 +1 @@
|
||||
bin
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2003, Fernando Luis Cacciola Carballal.
|
||||
//
|
||||
// Use, modification, and distribution is subject to the Boost Software
|
||||
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/lib/optional for documentation.
|
||||
//
|
||||
// You are welcome to contact the author at:
|
||||
// fernando_cacciola@hotmail.com
|
||||
//
|
||||
#include "boost/optional.hpp"
|
||||
|
||||
//
|
||||
// THIS TEST SHOULD FAIL TO COMPILE
|
||||
//
|
||||
void optional_reference__test_no_ptr_access()
|
||||
{
|
||||
boost::optional<int&> opt ;
|
||||
opt.get_ptr();
|
||||
}
|
||||
|
||||
|
||||