~ubuntu-branches/ubuntu/vivid/bombono-dvd/vivid

« back to all changes in this revision

Viewing changes to libs/asl/adobe/implementation/swap.hpp

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2013-11-07 19:03:05 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20131107190305-ehtd4gc5ul1i9qz1
Tags: 1.2.2-0ubuntu1
* New upstream release

* Switch dependency from ffmpeg (no longer in trusty) to libav-tools
* Add new build dependencies on libavcodec-dev and libavutil-dev
* Remove obsolete Breaks/Replaces on 1.2.1-0ubuntu1, no upgrade path available
  - update debian/control
* Remove hardcoded boost filesystem version
  - update debian/rules
* Remove all patches, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright 2005-2007 Adobe Systems Incorporated
 
3
    Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
 
4
    or a copy at http://stlab.adobe.com/licenses.html)
 
5
*/
 
6
 
 
7
/*************************************************************************************************/
 
8
 
 
9
#ifndef ADOBE_SWAP_HPP
 
10
#define ADOBE_SWAP_HPP
 
11
 
 
12
/*************************************************************************************************/
 
13
 
 
14
#include <adobe/config.hpp>
 
15
 
 
16
#include <algorithm>
 
17
 
 
18
/*************************************************************************************************/
 
19
 
 
20
namespace adobe {
 
21
 
 
22
/*************************************************************************************************/
 
23
/*!
 
24
\defgroup swap swap
 
25
\ingroup algorithm
 
26
 
 
27
We pull swap in from \c std, with a using std::swap declaration,
 
28
and employ the idiom that all code in namespace adobe that calls swap
 
29
should call it unqualified. This is less cluttered than employing local using declaration and is
 
30
forward compatible with C++ '0x constrained swap. We recommend this idiom to clients.
 
31
*/
 
32
/*************************************************************************************************/
 
33
/*!
 
34
\ingroup swap
 
35
 
 
36
 
 
37
*/
 
38
using std::swap;
 
39
 
 
40
/*************************************************************************************************/
 
41
 
 
42
} // namespace adobe
 
43
 
 
44
/*************************************************************************************************/
 
45
 
 
46
#endif
 
47
 
 
48
/*************************************************************************************************/