Buy Ebook C++ Templates: The Complete Guide Second Edition David Vandevoorde & Nicolai M. Josuttis & Douglas Gregor Cheap Price
Buy Ebook C++ Templates: The Complete Guide Second Edition David Vandevoorde & Nicolai M. Josuttis & Douglas Gregor Cheap Price
Buy Ebook C++ Templates: The Complete Guide Second Edition David Vandevoorde & Nicolai M. Josuttis & Douglas Gregor Cheap Price
com
https://textbookfull.com/product/c-templates-the-
complete-guide-second-edition-david-vandevoorde-
nicolai-m-josuttis-douglas-gregor/
https://textbookfull.com/product/c-17-the-complete-guide-nicolai-m-
josuttis/
textbookfull.com
https://textbookfull.com/product/c-move-semantics-the-complete-guide-
nicolai-m-josuttis/
textbookfull.com
https://textbookfull.com/product/primary-mathematics-
textbook-2b-jennifer-hoerst/
textbookfull.com
https://textbookfull.com/product/class-and-community-in-provincial-
ireland-1851-1914-brian-casey/
textbookfull.com
Cold Hearted (Tooth & Claw #1) 1st Edition Heather Guerre
https://textbookfull.com/product/cold-hearted-tooth-claw-1-1st-
edition-heather-guerre/
textbookfull.com
https://textbookfull.com/product/learn-rails-6-accelerated-web-
development-with-ruby-on-rails-adam-notodikromo/
textbookfull.com
https://textbookfull.com/product/scienceblind-why-our-intuitive-
theories-about-the-world-are-so-often-wrong-1st-edition-andrew-
shtulman/
textbookfull.com
https://textbookfull.com/product/eloise-and-the-werewolves-
mecklenburg-monsters-1st-edition-jove-chambers/
textbookfull.com
https://textbookfull.com/product/maurice-blanchot-and-fragmentary-
writing-a-change-of-epoch-1st-edition-leslie-hill/
textbookfull.com
Arabs a 3 000 year history of peoples tribes and empires
Mackintosh-Smith
https://textbookfull.com/product/arabs-a-3-000-year-history-of-
peoples-tribes-and-empires-mackintosh-smith/
textbookfull.com
C++ Templates
The Complete Guide
Second Edition
David Vandevoorde
Nicolai M. Josuttis
Douglas Gregor
Preface
Acknowledgments for the Second Edition
Acknowledgments for the First Edition
About This Book
What You Should Know Before Reading This Book
Overall Structure of the Book
How to Read This Book
Some Remarks About Programming Style
The C++11, C++14, and C++17 Standards
Example Code and Additional Information
Feedback
1 Function Templates
1.1 A First Look at Function Templates
1.1.1 Defining the Template
1.1.2 Using the Template
1.1.3 Two-Phase Translation
1.2 Template Argument Deduction
1.3 Multiple Template Parameters
1.3.1 Template Parameters for Return Types
1.3.2 Deducing the Return Type
1.3.3 Return Type as Common Type
1.4 Default Template Arguments
1.5 Overloading Function Templates
1.6 But, Shouldn’t We …?
1.6.1 Pass by Value or by Reference?
1.6.2 Why Not inline?
1.6.3 Why Not constexpr?
1.7 Summary
2 Class Templates
2.1 Implementation of Class Template Stack
2.1.1 Declaration of Class Templates
2.1.2 Implementation of Member Functions
2.2 Use of Class Template Stack
2.3 Partial Usage of Class Templates
2.3.1 Concepts
2.4 Friends
2.5 Specializations of Class Templates
2.6 Partial Specialization
2.7 Default Class Template Arguments
2.8 Type Aliases
2.9 Class Template Argument Deduction
2.10 Templatized Aggregates
2.11 Summary
4 Variadic Templates
4.1 Variadic Templates
4.1.1 Variadic Templates by Example
4.1.2 Overloading Variadic and Nonvariadic Templates
4.1.3 Operator sizeof…
4.2 Fold Expressions
4.3 Application of Variadic Templates
4.4 Variadic Class Templates and Variadic Expressions
4.4.1 Variadic Expressions
4.4.2 Variadic Indices
4.4.3 Variadic Class Templates
4.4.4 Variadic Deduction Guides
4.4.5 Variadic Base Classes and using
4.5 Summary
5 Tricky Basics
5.1 Keyword typename
5.2 Zero Initialization
5.3 Using this->
5.4 Templates for Raw Arrays and String Literals
5.5 Member Templates
5.5.1 The .template Construct
5.5.2 Generic Lambdas and Member Templates
5.6 Variable Templates
5.7 Template Template Parameters
5.8 Summary
8 Compile-Time Programming
8.1 Template Metaprogramming
8.2 Computing with constexpr
8.3 Execution Path Selection with Partial Specialization
8.4 SFINAE (Substitution Failure Is Not An Error)
8.4.1 Expression SFINAE with decltype
8.5 Compile-Time if
8.6 Summary
11 Generic Libraries
11.1 Callables
11.1.1 Supporting Function Objects
11.1.2 Dealing with Member Functions and Additional
Arguments
11.1.3 Wrapping Function Calls
11.2 Other Utilities to Implement Generic Libraries
11.2.1 Type Traits
11.2.2 std::addressof()
11.2.3 std::declval()
11.3 Perfect Forwarding Temporaries
11.4 References as Template Parameters
11.5 Defer Evaluations
11.6 Things to Consider When Writing Generic Libraries
11.7 Summary
12 Fundamentals in Depth
12.1 Parameterized Declarations
12.1.1 Virtual Member Functions
12.1.2 Linkage of Templates
12.1.3 Primary Templates
12.2 Template Parameters
12.2.1 Type Parameters
12.2.2 Nontype Parameters
12.2.3 Template Template Parameters
12.2.4 Template Parameter Packs
12.2.5 Default Template Arguments
12.3 Template Arguments
12.3.1 Function Template Arguments
12.3.2 Type Arguments
12.3.3 Nontype Arguments
12.3.4 Template Template Arguments
12.3.5 Equivalence
12.4 Variadic Templates
12.4.1 Pack Expansions
12.4.2 Where Can Pack Expansions Occur?
12.4.3 Function Parameter Packs
12.4.4 Multiple and Nested Pack Expansions
12.4.5 Zero-Length Pack Expansions
12.4.6 Fold Expressions
12.5 Friends
12.5.1 Friend Classes of Class Templates
12.5.2 Friend Functions of Class Templates
12.5.3 Friend Templates
12.6 Afternotes
13 Names in Templates
13.1 Name Taxonomy
13.2 Looking Up Names
13.2.1 Argument-Dependent Lookup
13.2.2 Argument-Dependent Lookup of Friend Declarations
13.2.3 Injected Class Names
13.2.4 Current Instantiations
13.3 Parsing Templates
13.3.1 Context Sensitivity in Nontemplates
13.3.2 Dependent Names of Types
13.3.3 Dependent Names of Templates
13.3.4 Dependent Names in Using Declarations
13.3.5 ADL and Explicit Template Arguments
13.3.6 Dependent Expressions
13.3.7 Compiler Errors
13.4 Inheritance and Class Templates
13.4.1 Nondependent Base Classes
13.4.2 Dependent Base Classes
13.5 Afternotes
14 Instantiation
14.1 On-Demand Instantiation
14.2 Lazy Instantiation
14.2.1 Partial and Full Instantiation
14.2.2 Instantiated Components
14.3 The C++ Instantiation Model
14.3.1 Two-Phase Lookup
14.3.2 Points of Instantiation
14.3.3 The Inclusion Model
14.4 Implementation Schemes
14.4.1 Greedy Instantiation
14.4.2 Queried Instantiation
14.4.3 Iterated Instantiation
14.5 Explicit Instantiation
14.5.1 Manual Instantiation
14.5.2 Explicit Instantiation Declarations
14.6 Compile-Time if Statements
14.7 In the Standard Library
14.8 Afternotes
17 Future Directions
17.1 Relaxed typename Rules
17.2 Generalized Nontype Template Parameters
17.3 Partial Specialization of Function Templates
17.4 Named Template Arguments
17.5 Overloaded Class Templates
17.6 Deduction for Nonfinal Pack Expansions
17.7 Regularization of void
17.8 Type Checking for Templates
17.9 Reflective Metaprogramming
17.10 Pack Facilities
17.11 Modules
Part III: Templates and Design
19 Implementing Traits
19.1 An Example: Accumulating a Sequence
19.1.1 Fixed Traits
19.1.2 Value Traits
19.1.3 Parameterized Traits
19.2 Traits versus Policies and Policy Classes
19.2.1 Traits and Policies: What’s the Difference?
19.2.2 Member Templates versus Template Template
Parameters
19.2.3 Combining Multiple Policies and/or Traits
19.2.4 Accumulation with General Iterators
19.3 Type Functions
19.3.1 Element Types
19.3.2 Transformation Traits
19.3.3 Predicate Traits
19.3.4 Result Type Traits
19.4 SFINAE-Based Traits
19.4.1 SFINAE Out Function Overloads
19.4.2 SFINAE Out Partial Specializations
19.4.3 Using Generic Lambdas for SFINAE
19.4.4 SFINAE-Friendly Traits
19.5 IsConvertibleT
19.6 Detecting Members
19.6.1 Detecting Member Types
19.6.2 Detecting Arbitrary Member Types
19.6.3 Detecting Nontype Members
19.6.4 Using Generic Lambdas to Detect Members
19.7 Other Traits Techniques
19.7.1 If-Then-Else
19.7.2 Detecting Nonthrowing Operations
19.7.3 Traits Convenience
19.8 Type Classification
19.8.1 Determining Fundamental Types
19.8.2 Determining Compound Types
19.8.3 Identifying Function Types
19.8.4 Determining Class Types
19.8.5 Determining Enumeration Types
19.9 Policy Traits
19.9.1 Read-Only Parameter Types
19.10 In the Standard Library
19.11 Afternotes
23 Metaprogramming
23.1 The State of Modern C++ Metaprogramming
23.1.1 Value Metaprogramming
23.1.2 Type Metaprogramming
23.1.3 Hybrid Metaprogramming
23.1.4 Hybrid Metaprogramming for Unit Types
23.2 The Dimensions of Reflective Metaprogramming
23.3 The Cost of Recursive Instantiation
23.3.1 Tracking All Instantiations
23.4 Computational Completeness
23.5 Recursive Instantiation versus Recursive Template
Arguments
23.6 Enumeration Values versus Static Constants
23.7 Afternotes
24 Typelists
24.1 Anatomy of a Typelist
24.2 Typelist Algorithms
24.2.1 Indexing
24.2.2 Finding the Best Match
24.2.3 Appending to a Typelist
24.2.4 Reversing a Typelist
24.2.5 Transforming a Typelist
24.2.6 Accumulating Typelists
24.2.7 Insertion Sort
24.3 Nontype Typelists
24.3.1 Deducible Nontype Parameters
24.4 Optimizing Algorithms with Pack Expansions
24.5 Cons-style Typelists
24.6 Afternotes
25 Tuples
25.1 Basic Tuple Design
25.1.1 Storage
25.1.2 Construction
25.2 Basic Tuple Operations
25.2.1 Comparison
25.2.2 Output
25.3 Tuple Algorithms
25.3.1 Tuples as Typelists
25.3.2 Adding to and Removing from a Tuple
25.3.3 Reversing a Tuple
25.3.4 Index Lists
25.3.5 Reversal with Index Lists
25.3.6 Shuffle and Select
25.4 Expanding Tuples
25.5 Optimizing Tuple
25.5.1 Tuples and the EBCO
25.5.2 Constant-time get()
25.6 Tuple Subscript
25.7 Afternotes
26 Discriminated Unions
26.1 Storage
26.2 Design
26.3 Value Query and Extraction
26.4 Element Initialization, Assignment and Destruction
26.4.1 Initialization
26.4.2 Destruction
26.4.3 Assignment
26.5 Visitors
26.5.1 Visit Result Type
26.5.2 Common Result Type
26.6 Variant Initialization and Assignment
26.7 Afternotes
27 Expression Templates
27.1 Temporaries and Split Loops
27.2 Encoding Expressions in Template Arguments
27.2.1 Operands of the Expression Templates
27.2.2 The Array Type
27.2.3 The Operators
27.2.4 Review
27.2.5 Expression Templates Assignments
Visit https://textbookfull.com
now to explore a rich
collection of eBooks, textbook
and enjoy exciting offers!
27.3 Performance and Limitations of Expression Templates
27.4 Afternotes
28 Debugging Templates
28.1 Shallow Instantiation
28.2 Static Assertions
28.3 Archetypes
28.4 Tracers
28.5 Oracles
28.6 Afternotes
Appendixes
B Value Categories
B.1 Traditional Lvalues and Rvalues
B.1.1 Lvalue-to-Rvalue Conversions
B.2 Value Categories Since C++11
B.2.1 Temporary Materialization
B.3 Checking Value Categories with decltype
B.4 Reference Types
C Overload Resolution
C.1 When Does Overload Resolution Kick In?
C.2 Simplified Overload Resolution
C.2.1 The Implied Argument for Member Functions
C.2.2 Refining the Perfect Match
C.3 Overloading Details
C.3.1 Prefer Nontemplates or More Specialized Templates
C.3.2 Conversion Sequences
C.3.3 Pointer Conversions
C.3.4 Initializer Lists
C.3.5 Functors and Surrogate Functions
C.3.6 Other Overloading Contexts
E Concepts
E.1 Using Concepts
E.2 Defining Concepts
E.3 Overloading on Constraints
E.3.1 Constraint Subsumption
E.3.2 Constraints and Tag Dispatching
E.4 Concept Tips
E.4.1 Testing Concepts
E.4.2 Concept Granularity
E.4.3 Binary Compatibility
Bibliography
Forums
Books and Web Sites
Glossary
Index
Preface
Garden-plots at Reykjavik, 67
Geirfuglasker, 44
Geranium, Wild, 73
German race, 293
Germs of British character, 298, 301
Geyser bumpers, 130
Geysers, how formed, 109, 100
Geyser Eruption, 117.
Expedition, Arranging for, 50-51
Geyser ground, 123
Geyser water, Analysis of, 109
Gilitrutt, 240
Glaciers, 30, 179
Glades, 74
Glen above Seydisfiord, 205
Globes, Vast red-hot, 174
Glossary, 292
Goblin, The, and the Cowherd, 222
Goblin’s Whistle, The, 225
Government, 154
Governor, 154
Grand eruption of Great Geyser, 117
Grassy plot, 74
Great Geyser, 107
Grimsey, Island of, 57
Gritty slope, 107-108
Grœnavatn, 103
Guide, 50
Guillemots, 15
Guldbringu, Sysla, 99
Gudmundsson, M., 157
Gudrun and Sigurd, 265
Gusts in Faröe, 28
Haco, 306
Harold Harfagra, 304
Hastings, 307
Haukadal, 103, 107
Bird’s eye view of, 125
“Hávamál,” The, or High Song of Odin, 266
Hay-harvest, 84.
In túns, 85, 96.
200 Loads of, destroyed, 167.
Head-dress of Icelandic females, 49, 51, 68
Heimaklettur, 43
Heimaey, 40
Hekla, 99, 135,
Eruption of in A.D. 1766, 136.
Abode of Hela, 138
Heradsthing, 155
Hermanness, 11
Hildur the Fairy Queen, 244
Holum, 137
Hornafiord, 198
Horses sure-footed, 73, 75, 80, 92, 105-106
Hostess’ duties to Guests, 133-134
Hotel at Reykjavik, 64, 149
Hot Springs, 112.
At Laugervatn, 96
Houses of Faröese Fishermen, 21
Houses at Reykjavik, 67
Household Suffrage, 153
Hrafnagjá, 79, 89, 92, 139
Hummocks on pasture land, 85
Hung-milk, 97
Hvitá, 103
Jacks-of-all-trades, 98
Jökuls, 106
Jökulsá, 197.
formed, 166
Jonsbook, 155
Jonson, Rector, 157
Jutes, 303
Kaupstadr, 40
Kirkuboe, Church of, 210
Kiss of peace, 102
Kitchen fires, 72
Kittiwakes, 15
Kleifervatn, 158
Krisuvik, 45.
Ride to, 158
Kötlugjá, 125, 162.
Eruptions of, 163-177
Maelsek, 46
Magna Charta, 297
Magnetic stones, 137
Mackenzie’s, Sir George, Geyser theory, 124
Markarfliót, 177
Meddomsmen, 155
Meeting on the Althing, 88-89
Milk diet, 97-98
Mits with two thumbs, 53-54
Mortality of children, 98
Mosquitoes, 105
Mud-caldrons, 158
Municipal institutions, 297
Mural precipice, 78
Myrdals Jökul, 162
Rainfall, 55-56
Rake, 85
Rampart, 79
Randröp, Mr., 60
Range of vari-coloured hills, 94-95
Raven, Tame, 204
Ravine, 73
Red-hot stones, 189
Relay ponies, 71, 75
Remembrance of Iceland, The, 147
Representative parliaments, 153, 296, 304
Retrospect of Icelandic travel, 215-216
Reverence, 298
Reydarfiord, 199, 204, 209
Reykjanes, 45, 162
Reykjavik, 48-68, 143.
Library of, 63-64
Ride to the Geysers, 69
River disappears, 188
Rock-walls, 78, 79, 82
Rolling of ship, 35
Rollo, 307
Rover, Norse, 300
Runic characters, 306
Run-milk, 97
Tabasheer, 109
Temperature of Geysers, 113.
Of Faröe, 29.
Of Iceland, 55-58
Tent in a gale, 130
Terns, 75
Thea, 149
Thingvalla, 86, 92, 140.
Lake of, 76, 92.
Vale of, 77-80
Thingore, 137
Thióthólfr Newspaper, 157
Thorláksson, 62
Thorshavn, 18-31
Thorlevsholm, 88
Thorpe, 200
Thrasi’s Treasure, 178
Thorwaldsen’s Font, 63
Thyckvaboe, 169
Thyme, 94, 108
Time of Henry III, 41
Tints of Mountains, 47, 50.
Peaks, Reykjavik, 160
Tintron, Crater of, 93-94
Toilet at the Geyser, 120
Tourists, Information for intending, 2
Trackless wastes, 75
Tracks worn in Turf, 100
Traffic, 203
Trampe, Count Von, 58
Transparency of Atmosphere, 141
Trap Hills in Faröe, 13, 32
Trial by Jury, 300
Trout, 83
Tún, 72, 85, 96
Túngufljot, 103
Turf-fires, 72
Turf-roofs, 19, 21, 40, 49, 82, 90, 96
Two-thumbed mits, 149
New Edition.
HAREBELL CHIMES
OR
THE BEAUTIFUL
IN
3. The original name is Fitfiel—probably the white mountain—fit signifying white, and fiel,
fell or mountain. In the same way England was called Albion, from its white cliffs.
5. Where the two Icelandic letters occur which are wanting in the English alphabet, they
are here represented, respectively, by d and th.
6.
“Di rado
Incontra, me rispose, che di nui
Faccia il cammino alcun per quale io vado.” L 19-21.
7. Pronounced Tingvatla.
8. In the same way a river in Perthshire is called Bruar; evidently from the natural rock-
bridge by which it is spanned.
10. From the specific gravity of the globe, taken in connection with the increasing ratio of
heat as we descend from the surface, it is calculated that all metals and rocks are melted
at a depth of thirty miles below the sea level, and that the fluid mass is chiefly melted iron;
while the temperature would indicate somewhere about 4000° Fahrenheit.
11. The specimens nearly all became red before they got home, and Dr. R. Angus Smith,
F.R.S. &c., has since fully confirmed my surmise as to the origin of the colours.
12. See Olafsen’s Reise, th. ii. p. 138-140. Finnsen’s Efterretning om Tildragelserne ved
Bierget Hekla. (Copenhagen 1767). Barry’s Orkney Islands, p. 13; quoted by the author
of Iceland, Greenland, and the Faröe Islands, pp. 30-1.
15. Alluding to the old Icelandic female head-dress which is now again being introduced—
See illustration p. 68.
17. Hassel, vol. 10. p. 231-233. Mackenzie, p. 312-323. Henderson, vol. 1. p. xxvi. Barrow,
pp. 293-305. Iceland, Greenland, and the Faröe Islands, pp. 209-10.
19. Since our visit, there has been another eruption of Kötlugjá in 1860, the particulars of
which have been collected by Lauder Lindsay, Esq. M.D., F.L.S. &c., and published in the
Edinburgh “Philosophical Journal” for January. From his interesting and admirable
scientific paper, which treats the subject largely, we learn that this eruption, like that of
1823, was “mild and innocuous.” It began on the 8th, and continued to the 28th or 29th
of May, and was preceded for several days by earthquakes. On the morning of the eighth
a dark cloud was seen to rise from the mountain, which at the same moment sent forth
an enormous flood of water, with very large pieces of ice, running with the water-stream
into the sea. Some of the pieces of ice were so large that they were stranded at a twenty
fathom depth in the sea. On the 12th of May the flames could be seen from Reykjavik,
although this town is no less than about eighty English miles distant. During the
evenings flashes of lightning were seen in the same direction. On the 16th May, the
smoke was about twenty-four thousand (?) feet high; it was sometimes of a dark colour,
but at other times it resembled steam. At this time the fire was seen from several places
at a distance of about 80 English miles. The wind being northerly during the eruption,
the sand and ashes fell chiefly in Myrdals-sand, which was the direction also taken by the
water-floods. Sulphur was found floating in the sea, and the fish disappeared from
certain parts of the neighbouring coasts. A large quantity of cinders was mixed with the
water-floods. Cinders and balls of fire, as well as smoke, were thrown up; but the cinders
and ashes, from being carried by the wind partly into the sea and partly to the
neighbouring snow-fields, did comparatively little damage to the lowland farms; although
the well-known devastations of former eruptions, especially those of 1665 and 1755,
gave rise to extreme alarm and the most serious apprehensions among the poor
inhabitants.
23. ‘In estimating the seriousness of such a loss, it is necessary to bear in mind that the hay
harvest is, so far as the vegetable kingdom is concerned, the only harvest in Iceland; and
that hay is almost the sole provender for horses, sheep, and cattle during three-fourths of
the year.’
24. Founding his statements on the manuscript of the Surgeon Sveinn Pálsson, and on
Horrebow’s Natural History of Iceland—p. 12: London 1758.
25. From the Greek επι and ζωον—a term applied to diseases among animals; e.g. murrain, in
which cattle are preyed upon by parasites.
26. ‘The celebrated agitation of the waters of our own Loch Ness occurred
contemporaneously with the great earthquake of Lisbon, here also referred to.’
27. Stukesley’s “Philosophy of Earthquakes,” 3d ed., London 1756, 8vo, pp. 9-30.
28. “Journal of a Tour in Iceland in the Summer of 1809,” 2d ed., 2 vols., London 1813, by
Sir William Jackson Hooker, K.H., D.C.L., L.L.D., &c., the present distinguished
Director of the Royal Botanic Garden at Kew.
31. There was a slight eruption of this mountain on March 23, 1861, which only lasted a few
days. The smoke and sulphurous gases which it exhaled tarnished metal at 50 miles
distance.
33. See illustration p. 134, where Skaptár is represented as rising in the distance, over a hill-
range on the other side of a level plain, which in the wood-cut resembles and might be
mistaken for water.
35. “Greenland, Iceland, and Faröe,” pp. 38-42: chiefly abridged from Stephenson’s
“Account of the Eruption,” published at Copenhagen in 1785, which will be found
translated in Hooker’s Journal, vol. ii., 124-261. See also Henderson, vol. i., pp. 272-290;
and Gliemann, pp. 107-109.
42. Sæmund Frodi, like other learned men of those days, was supposed to be in possession
of magic powers. He was the Friar Bacon of Iceland; and these stories in which his name
figures, handed down by tradition, are still often told in Iceland by the fireside on the
long winter evenings. Curious to observe, that, in most mediæval stories of this kind,
Satan is always outwitted and gets the worst of it. A.J.S.
43. This story may explain the origin of the Scotch proverb, “Deil tak’ the hindmost.”—
There is another version of Sæmund’s mode of escape; viz.: That when he was about to
be seized, pointing to his shadow on the wall, he said, “I am not the hindmost, don’t you
see him that is coming behind me!” Old Nick then caught at the shadow, and thought it
was a man; but Sæmund got out, and the door was slammed on his heels. But after that
time, it is added, Sæmund was always without a shadow, for Old Nick would not let his
shadow free again. Here, in this old-world story, we have the germ of Chamisso’s
“Shadowless Man.” A.J.S.
44. The reader will here be reminded of Aladdin’s Lamp, Genii, and of the East, from
whence these Stories also originally came in the days of Odin.
45. To the right understanding of the story of “Biarni Sveinsson,” it must be remembered
that a superstition prevailed amongst the Icelanders regarding the central deserts. These,
they believed, were inhabited by a strange mysterious race of men who held no
intercourse with the other inhabitants, and were said to be in the habit of kidnapping
women from the country. This belief may have had its origin in the fact, that, in former
days, some few outlaws and their families took refuge in the deserts, and lived there for a
time in order to escape the hands of justice. A.J.S.
47. These popular northern fireside stories and tales are partly gathered from direct oral
narration, and partly taken from a small volume, “Islenzk Æfintyri,” the collection of
Messrs. M. Grimson and J. Arnason, published in Icelandic, at Reykjavik, in 1852.
48. Völu-spá or spae, the Prophesy—wisdom, oracle, or mystic song—of Völu (Völu is the
genitive of Vala). Scoticê, Vala’s spae, as in the word spae-wife. One of these Valor, or
Northern sybills, whom Odin consulted in Neifelhem, when found in the tomb where
she had lain for ages, is represented as saying—
“I was snowed over with snows,
And beaten with rains,
And drenched with the dews;
Dead have I long been.”
49. These specimens of old Icelandic poetry are selected from “The Literature and Romance
of Northern Europe,” by William and Mary Howitt: 2 vols. 8vo., Colburn & Co., 1852.
50. Written in reply to the following lines, by Delta, sent her by way of a challenge.
“To where the Arctic billow foams
Round Shetland’s sad and silent homes,
There sighs the wind and wails the surge
As ’twere of living things the dirge.”
In these old heathen days, be it remembered, where all were sea-rovers there were good
and bad among them. For a fine description of the best type of the Viking and his code
of honour, see Tegner’s beautiful northern poem, “The Frithjof Saga.”
51. The “Lay of the Vikings,” translated into Icelandic verse by the Rev. Olaf Pálsson. It is in
the free metre of the old sagas—the same as that which Thorláksson adopted in his
translation of “Paradise Lost.” The following is the translation of Delta’s lines: